Docker logoDocker/
DOK-SC1078

Open string detectedDOK-SC1078

Critical severityCritical
Bug Risk categoryBug Risk

The string is not closed properly and is missing the closing quote or backtick.

Bad Practice

greeting="hello
target="world"
greeting="hello"
target="world"

If you do want values spanning over multiple lines, just make sure the character after it is a quote, space or line feed. For example:

var='multiline
'value

can be rewritten for readability and to remove the warning like this:

var='multiline
value'