提交 b01f1128 编写于 作者: V Vidar Holen

Make SC1012 "printf '\t'" suggestion use single quotes

上级 db332948
......@@ -1367,7 +1367,7 @@ readNormalEscaped = called "escaped char" $ do
return [next]
where
alternative 'n' = "a quoted, literal line feed"
alternative t = "\"$(printf \"\\" ++ [t] ++ "\")\""
alternative t = "\"$(printf '\\" ++ [t] ++ "')\""
escapedChar 'n' = Just "line feed"
escapedChar 't' = Just "tab"
escapedChar 'r' = Just "carriage return"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册