slsa-github-generator icon indicating copy to clipboard operation
slsa-github-generator copied to clipboard

[refactor] Use lowercase variable names in shell scripts

Open ianlewis opened this issue 3 years ago • 0 comments

Shell scripts should use lowercase variable names if the variable is unexported. This seems to be the best practice and linters like shellcheck will point out uninitialized variables if they are lowercase (it assumes uppercase variables are exported and available to the script). See: https://github.com/koalaman/shellcheck/issues/351

ianlewis avatar Jun 24 '22 02:06 ianlewis