Skip to content

Commit 666a4f9

Browse files
👕 refactor: Lint http-exists.
1 parent 6ce992c commit 666a4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.bin/http-exists

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
status="$(curl -s -o /dev/null -I -w "%{http_code}" "$@")"
44
success="$?"
55
if [ "${success}" -ne 0 ]; then
6-
>&2 echo "Error occurred while checking URL $@ (${success})"
6+
>&2 echo "Error occurred while checking URL $* (${success})"
77
exit 2
88
fi
99

0 commit comments

Comments
 (0)