Skip to content

Commit de48181

Browse files
committed
Fix reset color in pre-commit
1 parent d7befc1 commit de48181

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/git-hooks/pre-commit

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function php_unit() {
6161
echo "${RED}$OUTPUT"
6262
exit_reset_colors
6363
fi
64-
echo "${YELLOW}[pre-commit]${GREEN} PHP Unit Tests Passed!${WHITE}"
64+
echo "${YELLOW}[pre-commit]${GREEN} PHP Unit Tests Passed!${RESET_COLOR}"
6565
}
6666
php_unit &
6767

@@ -78,7 +78,7 @@ function php_lint() {
7878
exit_reset_colors
7979
fi
8080
done
81-
echo "${YELLOW}[pre-commit]${GREEN} ${1} Lint Passed!${WHITE}"
81+
echo "${YELLOW}[pre-commit]${GREEN} ${1} Lint Passed!${RESET_COLOR}"
8282
fi
8383
}
8484

0 commit comments

Comments
 (0)