mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-11 15:46:26 -07:00
Removed duplicate check for [[ a == b + 1 ]]
This commit is contained in:
parent
9ae776530b
commit
e8634a3c27
1 changed files with 0 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue