From 61bb21b4181c06b5956b5d6f2f7831e56e4f1cf6 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 3 Nov 2019 21:57:11 +0200 Subject: script: Enable SC2155 rule for Gitian scripts Also pwd command is replaced with $PWD variable everywhere for consistency. --- test/lint/lint-shell.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'test') 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. ) -- cgit v1.2.3