When requesting a build target that does not exist, the correct message is issued twice.
$ sb compile
Invalid target [compile]
Invalid target [compile]
$ sb --listTargets
Targets in the project build file:
test: Runs the project's tests
release: Releases a full version of the project
idea: Updates the IntelliJ IDEA module file
clean: Does nothing. Exists for scripting
bundle: Generates the ZIP bundles
int: Releases a local integration build of the project
When requesting a build target that does not exist, the correct message is issued twice.
Expected output: