Skip to content

Commit

Permalink
Always populate analysedPathsFromConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 29, 2021
1 parent c61763d commit 9f5f911
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Command/CommandHelper.php
Expand Up @@ -151,8 +151,10 @@ public static function begin(
if ($level === null && isset($projectConfig['parameters']['level'])) {
$level = (string) $projectConfig['parameters']['level'];
}
if (count($paths) === 0 && isset($projectConfig['parameters']['paths'])) {
if (isset($projectConfig['parameters']['paths'])) {
$analysedPathsFromConfig = Helpers::expand($projectConfig['parameters']['paths'], $defaultParameters);
}
if (count($paths) === 0) {
$paths = $analysedPathsFromConfig;
}
}
Expand Down

0 comments on commit 9f5f911

Please sign in to comment.