Skip to content

Commit

Permalink
Build Phar: minor tweak to allow testing the script on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Dec 17, 2021
1 parent 46d8d16 commit f4bec0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-phar.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}

$fullpath = $file->getPathname();
if (strpos($fullpath, '/Tests/') !== false) {
if (strpos($fullpath, DIRECTORY_SEPARATOR.'Tests'.DIRECTORY_SEPARATOR) !== false) {
continue;
}

Expand Down

0 comments on commit f4bec0a

Please sign in to comment.