Shell

Shell

Made by DeepSource

eof is not on a separate line SH-1042

Bug risk
Major

Found eof further down, but not on a separate line. Close matches include -eof (!= eof).

Problematic code:

cat <<-eof
Hello World
-eof

Preferred code:

cat <<- eof
Hello World
eof