Skip to content

Commit

Permalink
[TASK] Improve type check
Browse files Browse the repository at this point in the history
  • Loading branch information
garvinhicking authored and jaapio committed Mar 19, 2024
1 parent 08d2a89 commit e386a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/guides-cli/bin/guides
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit e386a79

Please sign in to comment.