mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC1035 (markdown)
@@ -8,7 +8,7 @@ if ![-z foo ]; then true; fi # if command `[-z' w/ args `foo', `]' fails..
|
||||
### Correct code:
|
||||
|
||||
```sh
|
||||
if ! [ -z foo ]; then true; fi # if command `[' w/ args `-z'. `foo', `]' fails..
|
||||
if ! [ -z foo ]; then true; fi # if command `[' w/ args `-z', `foo', `]' fails..
|
||||
```
|
||||
|
||||
### Rationale:
|
||||
|
Reference in New Issue
Block a user