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
I can't check shellcheck.net because it requires JavaScript.
Here's a snippet or screenshot that shows the problem:
#!/bin/shset +x
echo foo
Here's what shellcheck currently says:
Nothing
Here's what I wanted or expected to see:
You have used set +x, which is the default, did you mean set -x instead?
Comment
ShellCheck could trace all use of the set builtin and determine what the current values are and where the set commands have no effect because they either set to the default or they set to the same value as an earlier set command.
The text was updated successfully, but these errors were encountered:
For new checks and feature suggestions
shellcheck.net (i.e. the latest commit) currently gives no useful warnings about thisI can't check shellcheck.net because it requires JavaScript.
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:
You have used
set +x
, which is the default, did you meanset -x
instead?Comment
ShellCheck could trace all use of the
set
builtin and determine what the current values are and where theset
commands have no effect because they eitherset
to the default or theyset
to the same value as an earlierset
command.The text was updated successfully, but these errors were encountered: