replace CS2006 message with the headline of https://github.com/koalaman/shellcheck/wiki/Sc2006

This commit is contained in:
Alexei Pastuchov 2018-07-24 12:23:04 +02:00
commit 2321f1728a

View file

@ -1324,7 +1324,7 @@ prop_checkBackticks1 = verify checkBackticks "echo `foo`"
prop_checkBackticks2 = verifyNot checkBackticks "echo $(foo)"
prop_checkBackticks3 = verifyNot checkBackticks "echo `#inlined comment` foo"
checkBackticks _ (T_Backticked id list) | not (null list) =
style id 2006 "Use $(..) instead of legacy `..`."
style id 2006 "Use $(STATEMENT) instead of legacy `STATEMENT`."
checkBackticks _ _ = return ()
prop_checkIndirectExpansion1 = verify checkIndirectExpansion "${foo$n}"