Updated SC1049 (markdown)

koalaman
2016-01-20 15:00:53 -08:00
parent 460e5d92aa
commit 109ff6bfa0

@@ -26,7 +26,9 @@ fi
ShellCheck found a parsing error in the script, and determined that it's most likely due to a missing `then` keyword for the `if` or `elif` indicated. ShellCheck found a parsing error in the script, and determined that it's most likely due to a missing `then` keyword for the `if` or `elif` indicated.
Make sure the `then` is there. It needs `;` or linefeed before it (e.g. `if true; then`, not `if true then`). Make sure the `then` is there.
Note that the `then` needs a `;` or linefeed before it. `if true then` is invalid, while `if true; then` is correct.
### Exceptions: ### Exceptions: