Changelog: https://github.com/koalaman/shellcheck/blob/master/CHANGELOG.md We have some new erros due to the version bump. - SC2034: VARIABLE_XYZ appears unused. Verify use (or export if used externally). - Applies to all scripts we source in other scripts - SC2039: In POSIX sh, set option pipefail is undefined. - Applies to files using it with "sh" instead of "bash" in the shebang - SC2054: Use spaces, not commas, to separate array elements. - Fixing Should make no difference in the code - SC2128: Expanding an array without an index only gives the first element. - Fixing Should make no difference in the code - SC2251: This ! is not on a condition and skips errexit. Use `&& exit 1` instead, or make sure $? is checked. - Not 100% sure if we can swap to `&& exit 1`. Applies to a lot of test code. All changes should be straight forward to fix, but will be done in a separate PR.
6.8 KiB
Executable File
6.8 KiB
Executable File