From e386a7987eb2a8803465d7e7d35197b7e11a865f Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 19 Mar 2024 21:03:54 +0100 Subject: [PATCH] [TASK] Improve type check --- packages/guides-cli/bin/guides | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/guides-cli/bin/guides b/packages/guides-cli/bin/guides index 53f055601..9f9364df4 100755 --- a/packages/guides-cli/bin/guides +++ b/packages/guides-cli/bin/guides @@ -46,7 +46,7 @@ if (is_file($projectConfig)) { echo 'Loading guides.xml from ' . $projectConfig . PHP_EOL; } // vendor folder was placed directly into the project directory - if ($projectConfig) { + if ($projectConfig !== false && $projectConfig !== '') { $containerFactory->addConfigFile($projectConfig); } }