mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-21 18:44:00 +08:00
Better unquoted message, seeing as how it's so common.
This commit is contained in:
@@ -1455,7 +1455,7 @@ checkSpacefulness t =
|
|||||||
then return [(getId token, Note InfoC warning)]
|
then return [(getId token, Note InfoC warning)]
|
||||||
else return []
|
else return []
|
||||||
where
|
where
|
||||||
warning = "Unquoted variable may contain spaces/globs, and will word split."
|
warning = "Double quote to prevent globbing and word splitting."
|
||||||
|
|
||||||
writeF _ _ name DataExternal = do
|
writeF _ _ name DataExternal = do
|
||||||
setSpaces name True
|
setSpaces name True
|
||||||
|
Reference in New Issue
Block a user