aboutsummaryrefslogtreecommitdiff
path: root/test/lint
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-03 21:57:11 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-27 19:25:29 +0200
commit61bb21b4181c06b5956b5d6f2f7831e56e4f1cf6 (patch)
treebe2d55b56a801fa0755ec091c1d1d84360d55596 /test/lint
parent577682d9e8cc07a8db9459a47b01f6c18decba7c (diff)
script: Enable SC2155 rule for Gitian scripts
Also pwd command is replaced with $PWD variable everywhere for consistency.
Diffstat (limited to 'test/lint')
-rwxr-xr-xtest/lint/lint-shell.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lint/lint-shell.sh b/test/lint/lint-shell.sh
index 0e1a7bc4f0..ce371455ed 100755
--- a/test/lint/lint-shell.sh
+++ b/test/lint/lint-shell.sh
@@ -26,7 +26,6 @@ disabled_gitian=(
SC2001 # See if you can use ${variable//search/replace} instead.
SC2094 # Make sure not to read and write the same file in the same pipeline.
SC2129 # Consider using { cmd1; cmd2; } >> file instead of individual redirects.
- SC2155 # Declare and assign separately to avoid masking return values.
SC2230 # which is non-standard. Use builtin 'command -v' instead.
)