diff --git a/ShellCheck/Parser.hs b/ShellCheck/Parser.hs index 18bb227..e9efd92 100644 --- a/ShellCheck/Parser.hs +++ b/ShellCheck/Parser.hs @@ -329,7 +329,6 @@ readConditionContents single = do endedWith _ _ = False readCondAndOp = do - optional guardArithmetic id <- getNextId x <- try (string "&&" <|> string "-a") when (single && x == "&&") $ addNoteFor id $ Note ErrorC 1022 "You can't use && inside [..]. Use [[..]] instead."