-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In POSIX sh, 'local' is undefined. [SC2039] #481
Comments
The best I got is this: https://stackoverflow.com/questions/18597697/posix-compliant-way-to-scope-variables-to-a-function-in-a-shell-script#answer-18600920 Which points out that |
Cool, thanks. Going to add this config to my vimrc:
|
croaky
added a commit
that referenced
this issue
Apr 18, 2017
croaky
added a commit
that referenced
this issue
Apr 19, 2017
gerardo
pushed a commit
to gerardo/laptop
that referenced
this issue
May 26, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@thoughtbot/shell We use
local
quite a few times in the script but ShellCheck doesn't like it. Thoughts on how to approach it?The text was updated successfully, but these errors were encountered: