From 6fcd7d5d235ee07c942a3ad6c4e02ffe1db57ef6 Mon Sep 17 00:00:00 2001
From: Leroy Korterink <hello+github@leroy.dev>
Date: Mon, 29 Jan 2024 12:22:46 +0100
Subject: [PATCH] fix: Update custom config file parse error (#26914)

---
 lib/workers/global/config/parse/file.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/workers/global/config/parse/file.ts b/lib/workers/global/config/parse/file.ts
index 9b06e91a68..14c13c06a8 100644
--- a/lib/workers/global/config/parse/file.ts
+++ b/lib/workers/global/config/parse/file.ts
@@ -73,7 +73,7 @@ export async function getConfig(env: NodeJS.ProcessEnv): Promise<AllConfig> {
       logger.fatal(err.message);
       process.exit(1);
     } else if (env.RENOVATE_CONFIG_FILE) {
-      logger.fatal('No custom config file found on disk');
+      logger.fatal('Error parsing config file');
       process.exit(1);
     }
     // istanbul ignore next: we can ignore this
-- 
GitLab