mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-03-12 12:35:25 -07:00
i think this is what was meant to be there, please check
parent
38c0dccb21
commit
86b4507cca
@ -15,7 +15,7 @@
|
||||
|
||||
### Rationale:
|
||||
|
||||
It's common to use `A && B` to run `B` when `A` is true, and `A || C` to run `C` is `A` is false.
|
||||
It's common to use `A && B` to run `B` when `A` is true, and `A || C` to run `C` when `A` is false.
|
||||
|
||||
However, combining them into `A && B || C` is not the same as `if A then B else C`.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user