Skip to content

Commit 7114b04

Browse files
committed
Fix git diff script
1 parent 49b5d12 commit 7114b04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/git-has-changes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env sh
22

3-
if [[ -n $(git status --porcelain --untracked-files=no) ]]; then
3+
if git status --porcelain --untracked-files=no; then
44
exit 1
55
fi

0 commit comments

Comments
 (0)