Updated SC1053 (markdown)

koalaman
2017-07-08 17:55:38 -07:00
parent 3f63e7841f
commit d0066ca4f2

@@ -9,7 +9,9 @@ if mycommand; then echo "True"; else; echo "False"; fi
### Correct code: ### Correct code:
```sh ```sh
if mycommand; then echo "True"; else echo "False"; fi``` if mycommand; then echo "True"; else echo "False"; fi
```
### Rationale: ### Rationale:
`else` keywords should not be followed by semicolons. It's not valid shell syntax. `else` keywords should not be followed by semicolons. It's not valid shell syntax.