mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2143 (markdown)
@@ -21,4 +21,4 @@ The correct code is cleaner and stops at the first matching line, avoiding both
|
|||||||
|
|
||||||
### Contraindications
|
### Contraindications
|
||||||
|
|
||||||
None.
|
The `pipefail` bash option may interfere with this rewrite, since the `if` will now in effect be evaluating the statuses of all commands instead of just the last one. Be careful using them together.
|
Reference in New Issue
Block a user