Test Bracket Termination High

Unexpected characters after the closing bracket of a test expression can cause syntax errors in shell scripts. To fix this, ensure that the closing bracket is followed by a semicolon, a line break, or a valid shell construct like 'then' or '&&'.

Detector ID
shell/test-bracket-termination@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-