Skip to content

Commit aca92ad

Browse files
committed
Clarify shellcheck message
1 parent 60818d6 commit aca92ad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ sync-docs:
2121
./sync-docs.sh
2222

2323
test:
24-
shellcheck --version >/dev/null 2>&1 && \
25-
shellcheck -x *.sh lib/git-issue/*.sh || \
26-
echo 'Skipping shellcheck; consider installing it'
24+
if shellcheck --version >/dev/null 2>&1 ; then \
25+
shellcheck -x *.sh lib/git-issue/*.sh ; \
26+
else \
27+
echo 'Skipping shellcheck; consider installing it' ; \
28+
fi
2729
./test.sh
2830

2931
uninstall:

0 commit comments

Comments
 (0)