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
It appears that this triggers whenever you follow the suggestion to replace local with subshells, and that the sole solution is to replace #!/bin/sh with
#!/bin/sh
#shellcheck disable=SC2031 #This triggers whenever you follow the suggestion to replace `local` with subshells (`$()`).
For bugs
Here's a snippet or screenshot that shows the problem:
https://github.com/SwuduSusuwu/SubStack/blob/27721b2f195b598ac25fd052af0d27ca5ac0c48b/Macros.sh#L351-L402
Here's what shellcheck currently says:
Before this, it was In POSIX sh,
local
is undefined.Here's what I wanted or expected to see:
The text was updated successfully, but these errors were encountered: