diff --git a/scripts/githooks/pre-commit.sh b/scripts/githooks/pre-commit.sh index 86f17079..c643f275 100644 --- a/scripts/githooks/pre-commit.sh +++ b/scripts/githooks/pre-commit.sh @@ -46,15 +46,15 @@ RED="\e[31m" ENDCOLOR="\e[0m" printMessage() { - printf "${YELLOW}openim : $1${ENDCOLOR}\n" + printf "${YELLOW}openim : Error - $1${ENDCOLOR}\n" } printSuccess() { - printf "${GREEN}openim : $1${ENDCOLOR}\n" + printf "${GREEN}openim : Success - $1${ENDCOLOR}\n" } printError() { - printf "${RED}openim : $1${ENDCOLOR}\n" + printf "${RED}openim : Failure - $1${ENDCOLOR}\n" } printMessage "Running local openim pre-commit hook." @@ -73,9 +73,9 @@ function file_too_large(){ filesize=$(( $1 \/ 2**20 ))\ncat <