Skip to content

Commit 9f5f911

Browse files
committed
Always populate analysedPathsFromConfig
1 parent c61763d commit 9f5f911

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Command/CommandHelper.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,10 @@ public static function begin(
151151
if ($level === null && isset($projectConfig['parameters']['level'])) {
152152
$level = (string) $projectConfig['parameters']['level'];
153153
}
154-
if (count($paths) === 0 && isset($projectConfig['parameters']['paths'])) {
154+
if (isset($projectConfig['parameters']['paths'])) {
155155
$analysedPathsFromConfig = Helpers::expand($projectConfig['parameters']['paths'], $defaultParameters);
156+
}
157+
if (count($paths) === 0) {
156158
$paths = $analysedPathsFromConfig;
157159
}
158160
}

0 commit comments

Comments
 (0)