From 6d9e8472e6baf04e311d26134e3f0065db4dda8e Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sun, 2 Aug 2015 19:55:47 -0700 Subject: [PATCH] Less confusing message for SC2140 --- ShellCheck/Analytics.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellCheck/Analytics.hs b/ShellCheck/Analytics.hs index fb2e294..4eee9e5 100644 --- a/ShellCheck/Analytics.hs +++ b/ShellCheck/Analytics.hs @@ -1996,7 +1996,7 @@ checkInexplicablyUnquoted _ (T_NormalWord id tokens) = mapM_ check (tails tokens warnAboutExpansion id = warn id 2027 "The surrounding quotes actually unquote this. Remove or escape them." warnAboutLiteral id = - warn id 2140 "The double quotes around this do nothing. Remove or escape them." + warn id 2140 "Word is on the form \"A\"B\"C\" (B indicated). Did you mean \"ABC\" or \"A\\\"B\\\"C\"?" checkInexplicablyUnquoted _ _ = return () prop_checkTildeInQuotes1 = verify checkTildeInQuotes "var=\"~/out.txt\""