Skip to content

Commit cc53544

Browse files
committed
FEATURE: Always use complete shellcheck code, prepend SC if missing.
1 parent b6b53bd commit cc53544

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

wiki-shellcheck.sh

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ elif [ "$update" = background ]; then
5555
fi
5656
fi
5757

58+
case $needle in
59+
SC*) ;;
60+
*) needle="SC$needle" ;;
61+
esac
62+
5863
if [ -f "$path/$needle.md" ]; then
5964
# FIXME this should be converted to clean sh.
6065
echo "$needle: $(head -1 "/home/brother/git/other/shellcheck.wiki/$needle.md" | sed 's/^#\+ //')"

0 commit comments

Comments
 (0)