Update SC1072 warning

MechaLynx
2017-10-30 02:06:34 +02:00
parent 0c1da5ce55
commit c82895ac1d

@@ -1,5 +1,5 @@
# Unexpected .. # 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.* *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. This is fixed on the [online version](https://www.shellcheck.net/) and the next release.*
See [Parser Error](https://github.com/koalaman/shellcheck/wiki/Parser-Error). See [Parser Error](https://github.com/koalaman/shellcheck/wiki/Parser-Error).