mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -05:00
Add more colors for non-errors
This commit is contained in:
parent
5142e0aebd
commit
d328495414
4 changed files with 11 additions and 11 deletions
|
@ -166,7 +166,7 @@ RunConfigApply()
|
|||
exit 1
|
||||
else
|
||||
# Success
|
||||
echo "Successfully ran $GHE_APPLY_COMMAND"
|
||||
echo -e "${NC}${F[B]}Successfully ran $GHE_APPLY_COMMAND${NC}"
|
||||
fi
|
||||
}
|
||||
################################################################################
|
||||
|
|
|
@ -318,7 +318,7 @@ BuildImage()
|
|||
exit 1
|
||||
else
|
||||
# SUCCESS
|
||||
echo "Successfully Built image!"
|
||||
echo -e "${NC}${F[B]}Successfully Built image!${NC}"
|
||||
fi
|
||||
|
||||
########################################################
|
||||
|
@ -342,7 +342,7 @@ BuildImage()
|
|||
exit 1
|
||||
else
|
||||
# SUCCESS
|
||||
echo "Successfully tagged image!"
|
||||
echo -e "${NC}${F[B]}Successfully tagged image!${NC}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -438,5 +438,5 @@ function BuildFileList()
|
|||
################
|
||||
echo ""
|
||||
echo "----------------------------------------------"
|
||||
echo "Successfully gathered list of files..."
|
||||
echo -e "${NC}${F[B]}Successfully gathered list of files...${NC}"
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ function LintCodebase()
|
|||
else
|
||||
# Success
|
||||
if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then
|
||||
echo "Successfully found binary in system"
|
||||
echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
|
||||
echo "Location:[$VALIDATE_INSTALL_CMD]"
|
||||
fi
|
||||
fi
|
||||
|
@ -195,7 +195,7 @@ function LintCodebase()
|
|||
###########
|
||||
# Success #
|
||||
###########
|
||||
echo " - File:[$FILE_NAME] was linted with [$LINTER_NAME] successfully"
|
||||
echo -e "${NC}${F[B]} - File:${F[W]}[$FILE_NAME]${F[B]} was linted with ${F[W]}[$LINTER_NAME]${F[B]} successfully${NC}"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
@ -245,7 +245,7 @@ function TestCodebase()
|
|||
exit 1
|
||||
else
|
||||
# Success
|
||||
echo "Successfully found binary in system"
|
||||
echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
|
||||
echo "Location:[$VALIDATE_INSTALL_CMD]"
|
||||
fi
|
||||
|
||||
|
@ -369,7 +369,7 @@ function TestCodebase()
|
|||
###########
|
||||
# Success #
|
||||
###########
|
||||
echo " - File:[$FILE_NAME] was linted with [$LINTER_NAME] successfully"
|
||||
echo -e "${NC}${F[B]} - File:${F[W]}[$FILE_NAME]${F[B]} was linted with ${F[W]}[$LINTER_NAME]${F[B]} successfully${NC}"
|
||||
# Increment counter that check was ran
|
||||
((TESTS_RAN++))
|
||||
fi
|
||||
|
@ -396,7 +396,7 @@ function TestCodebase()
|
|||
###########
|
||||
# Success #
|
||||
###########
|
||||
echo " - File:[$FILE_NAME] failed test case with [$LINTER_NAME] successfully"
|
||||
echo -e "${NC}${F[B]} - File:${F[W]}[$FILE_NAME]${F[B]} failed test case with ${F[W]}[$LINTER_NAME]${F[B]} successfully${NC}"
|
||||
# Increment counter that check was ran
|
||||
((TESTS_RAN++))
|
||||
fi
|
||||
|
@ -520,7 +520,7 @@ function LintAnsibleFiles()
|
|||
# Success
|
||||
if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then
|
||||
# Success
|
||||
echo "Successfully found binary in system"
|
||||
echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
|
||||
echo "Location:[$VALIDATE_INSTALL_CMD]"
|
||||
fi
|
||||
fi
|
||||
|
@ -627,7 +627,7 @@ function LintAnsibleFiles()
|
|||
###########
|
||||
# Success #
|
||||
###########
|
||||
echo " - File:[$FILE_NAME] was linted with [$LINTER_NAME] successfully"
|
||||
echo -e "${NC}${F[B]} - File:${F[W]}[$FILE_NAME]${F[B]} was linted with ${F[W]}[$LINTER_NAME]${F[B]} successfully${NC}"
|
||||
fi
|
||||
done
|
||||
else # No ansible directory found in path
|
||||
|
|
Loading…
Reference in a new issue