mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
i think this is what was meant to be there, please check
@@ -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`.
|
||||
|
||||
|
Reference in New Issue
Block a user