then
.if true
echo "True"
fi
if true
then
echo "True"
fi
ShellCheck has found an if
statement that appears to be
missing a then
.
Make sure the then
exists, and that it is the first word
of the line (or immediately preceded by a semicolon).
None
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.