diff --git a/lib/functions/worker.sh b/lib/functions/worker.sh index 8ea61b2e..a65b2379 100755 --- a/lib/functions/worker.sh +++ b/lib/functions/worker.sh @@ -338,7 +338,9 @@ function LintCodebase() { # Success # ########### info " - File:${F[W]}[${FILE_NAME}]${F[B]} was linted with ${F[W]}[${LINTER_NAME}]${F[B]} successfully" - info " - Command output:${NC}\n------\n${LINT_CMD}\n------" + if [ -n "${LINT_CMD}" ]; then + info " - Command output:${NC}\n------\n${LINT_CMD}\n------" + fi fi else #######################################