You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In - line 3:
[ "$1" = '' ]
^-------^ SCXXXX (style): Prefer -z to check empty string
Did you mean:
[ -z "$1" ]
In - line 4:
[ "$1" != '' ]
^--------^ SCXXXX (style): Prefer -n to check non-empty string
Did you mean:
[ -n "$1" ]
The text was updated successfully, but these errors were encountered:
For bugs
shellcheck --version
or 'online'): onlineFor new checks and feature suggestions
-z
&-n
string tests #1664?Here's a snippet or screenshot that shows the problem:
Here's what shellcheck currently says:
Nothing.
Here's what I wanted or expected to see:
The text was updated successfully, but these errors were encountered: