Pattern: Use of ;
after then
Issue: -
then
keywords should not be followed by semicolons. It's not valid shell syntax.
You can follow them directly with a line break or another command.
Example of incorrect code:
if true; then; echo "Hi"; fi
Example of correct code:
if true; then echo "Hi"; fi