Skip to content

Commit 66fdbbb

Browse files
committed
[TASK] Improve type check
(cherry picked from commit e386a79)
1 parent e032b93 commit 66fdbbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/guides-cli/bin/guides

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if (is_file($projectConfig)) {
4646
echo 'Loading guides.xml from ' . $projectConfig . PHP_EOL;
4747
}
4848
// vendor folder was placed directly into the project directory
49-
if ($projectConfig) {
49+
if ($projectConfig !== false && $projectConfig !== '') {
5050
$containerFactory->addConfigFile($projectConfig);
5151
}
5252
}

0 commit comments

Comments
 (0)