Skip to content

Commit

Permalink
fix: fix missing bash command on github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Fery Wardiyanto <[email protected]>
  • Loading branch information
feryardiant committed Dec 25, 2024
1 parent b3fe491 commit f542911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BrowserStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public static function getDriverURL(): string
*/
private static function isDirty(): bool
{
return (bool) \exec('[[ -n `git status --porcelain` ]] && echo 1');
return \exec('git status --porcelain') !== '';
}

/**
Expand Down

0 comments on commit f542911

Please sign in to comment.