Skip to content

Commit f542911

Browse files
committed
fix: fix missing bash command on github actions
Signed-off-by: Fery Wardiyanto <ferywardiyanto@gmail.com>
1 parent b3fe491 commit f542911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BrowserStack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public static function getDriverURL(): string
195195
*/
196196
private static function isDirty(): bool
197197
{
198-
return (bool) \exec('[[ -n `git status --porcelain` ]] && echo 1');
198+
return \exec('git status --porcelain') !== '';
199199
}
200200

201201
/**

0 commit comments

Comments
 (0)