mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 06:49:03 +08:00
Fixed quoted ~ warning to only trigger for ~/
This commit is contained in:
@@ -950,7 +950,7 @@ readNormalEscaped = called "escaped char" $ do
|
||||
pos <- getPosition
|
||||
backslash
|
||||
do
|
||||
next <- quotable <|> oneOf "?*@!+[]{}.,"
|
||||
next <- quotable <|> oneOf "?*@!+[]{}.,~"
|
||||
return $ if next == '\n' then "" else [next]
|
||||
<|>
|
||||
do
|
||||
|
Reference in New Issue
Block a user