Added warning for #1036

MechaLynx
2017-10-28 05:30:01 +03:00
parent 25eb10fe39
commit 0a72055b16

@@ -1,3 +1,5 @@
# Unexpected ..
*Note: There is a [known bug](../../issues/1036) in the current version when [directives](../../wiki/Directive) appear within `then` clauses of `if` blocks that causes Shellcheck to report SC1072 on otherwise valid code. Avoid using directives within `then` clauses - instead place them at the top of the `if` block or another enclosing block.*
See [Parser Error](https://github.com/koalaman/shellcheck/wiki/Parser-Error).