Skip to content

Commit

Permalink
Removed trim for null values
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Dec 1, 2021
1 parent 2c1efb6 commit 4fa435a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/release.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$version = "v$version";

// make sure the working directory is clean
if (trim(shell_exec("git status --porcelain")) !== "") {
if (shell_exec("git status --porcelain") !== null) {
echo "Your working directory is dirty. Did you forget to commit your changes?\n";

exit(1);
Expand Down

0 comments on commit 4fa435a

Please sign in to comment.