Closed cpytel closed 2 years ago
This warning states that "In POSIX sh, 'local' is undefined".
local is used extensively in the mac script, but it should be understood by most OSes based on the information in: https://stackoverflow.com/questions/18597697/posix-compliant-way-to-scope-variables-to-a-function-in-a-shell-script#answer-18600920
local
Add a line at the beginning of the script to ignore this warning in the entire file to avoid false positives when linting locally.
Co-authored-by: rreinhardt9
This warning states that "In POSIX sh, 'local' is undefined".
local
is used extensively in the mac script, but it should be understood by most OSes based on the information in: https://stackoverflow.com/questions/18597697/posix-compliant-way-to-scope-variables-to-a-function-in-a-shell-script#answer-18600920Add a line at the beginning of the script to ignore this warning in the entire file to avoid false positives when linting locally.
Co-authored-by: rreinhardt9