mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-26 10:41:04 -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
|
exit 1
|
||||||
else
|
else
|
||||||
# Success
|
# Success
|
||||||
echo "Successfully ran $GHE_APPLY_COMMAND"
|
echo -e "${NC}${F[B]}Successfully ran $GHE_APPLY_COMMAND${NC}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -318,7 +318,7 @@ BuildImage()
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
# SUCCESS
|
# SUCCESS
|
||||||
echo "Successfully Built image!"
|
echo -e "${NC}${F[B]}Successfully Built image!${NC}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
|
@ -342,7 +342,7 @@ BuildImage()
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
# SUCCESS
|
# SUCCESS
|
||||||
echo "Successfully tagged image!"
|
echo -e "${NC}${F[B]}Successfully tagged image!${NC}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -438,5 +438,5 @@ function BuildFileList()
|
||||||
################
|
################
|
||||||
echo ""
|
echo ""
|
||||||
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
|
else
|
||||||
# Success
|
# Success
|
||||||
if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then
|
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]"
|
echo "Location:[$VALIDATE_INSTALL_CMD]"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -195,7 +195,7 @@ function LintCodebase()
|
||||||
###########
|
###########
|
||||||
# Success #
|
# 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
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
@ -245,7 +245,7 @@ function TestCodebase()
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
# Success
|
# Success
|
||||||
echo "Successfully found binary in system"
|
echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
|
||||||
echo "Location:[$VALIDATE_INSTALL_CMD]"
|
echo "Location:[$VALIDATE_INSTALL_CMD]"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -369,7 +369,7 @@ function TestCodebase()
|
||||||
###########
|
###########
|
||||||
# Success #
|
# 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
|
# Increment counter that check was ran
|
||||||
((TESTS_RAN++))
|
((TESTS_RAN++))
|
||||||
fi
|
fi
|
||||||
|
@ -396,7 +396,7 @@ function TestCodebase()
|
||||||
###########
|
###########
|
||||||
# Success #
|
# 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
|
# Increment counter that check was ran
|
||||||
((TESTS_RAN++))
|
((TESTS_RAN++))
|
||||||
fi
|
fi
|
||||||
|
@ -520,7 +520,7 @@ function LintAnsibleFiles()
|
||||||
# Success
|
# Success
|
||||||
if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then
|
if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then
|
||||||
# Success
|
# Success
|
||||||
echo "Successfully found binary in system"
|
echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
|
||||||
echo "Location:[$VALIDATE_INSTALL_CMD]"
|
echo "Location:[$VALIDATE_INSTALL_CMD]"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -627,7 +627,7 @@ function LintAnsibleFiles()
|
||||||
###########
|
###########
|
||||||
# Success #
|
# 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
|
fi
|
||||||
done
|
done
|
||||||
else # No ansible directory found in path
|
else # No ansible directory found in path
|
||||||
|
|
Loading…
Reference in a new issue