Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Nov 30, 2023
1 parent 6b99673 commit c549fbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Psalm/Internal/CliUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ public static function getPathsToCheck(string|array|false|null $f_paths): ?array
}

if (!file_exists($path_to_check)) {
continue;
fwrite(STDERR, 'Cannot locate ' . $path_to_check . PHP_EOL);
exit(1);
}

$path_to_check = realpath($path_to_check);
Expand Down

0 comments on commit c549fbd

Please sign in to comment.