From ecfa789948a0a7e487023111801094f3334efa8b Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Wed, 23 Mar 2022 23:51:36 +0100 Subject: [PATCH] Mute shellcheck error SC2237 --- scripts/yt-api-helper.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/yt-api-helper.sh b/scripts/yt-api-helper.sh index 9a65279..dbf1299 100755 --- a/scripts/yt-api-helper.sh +++ b/scripts/yt-api-helper.sh @@ -1,5 +1,8 @@ #!/bin/sh -# shellcheck disable=SC2236 +# shellcheck disable=SC2236,SC2237 +# +# ^ Allow the use of `! -z` and `! [ -z]` as those are +# more intuitive than `-n` print_help()