We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac31c9 commit 99dd76bCopy full SHA for 99dd76b
tests/patch/shellcheck/shellcheck.sh
@@ -73,9 +73,9 @@ current_w=$(grep -c " (warning):" "$tmpfile_n")
73
74
# if a file was compliant before or is new, mark everything as error to keep it good.
75
for f in "${tmpfile_n}_"*; do
76
- [ ! -s "${f}" ] && continue # still compliant
77
-
78
sha="${f:${#tmpfile_n}+1}"
+ [ ! -s "${f}" ] && echo "${sha} is shellcheck compliant" && continue
+
79
old="${tmpfile_o}_${sha}"
80
[ -s "${old}" ] && continue # wasn't compliant
81
0 commit comments