From bde664c15d01d6f6d7256e6979bb5a8d20826b53 Mon Sep 17 00:00:00 2001 From: Ben Roberts Date: Sun, 7 Sep 2014 22:23:12 +0100 Subject: [PATCH] Remove abiguity in lint warning message - commit could still be blocked by other checks --- pre-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre-receive b/pre-receive index 8b4ebbe..b97c0a1 100755 --- a/pre-receive +++ b/pre-receive @@ -67,7 +67,7 @@ while read oldrev newrev refname; do if [[ $rc != 0 ]]; then if [[ $warned = 0 ]]; then echo -e "\e[0;33m" "Please follow the puppet module styleguide (http://docs.puppetlabs.com/guides/style_guide.html)." "\e[0m" - echo -e "\e[0;33m" "The above ERROR/WARNING messages are informational only. The commit has been accepted. In the future, these may cause your commit to be refused." "\e[0m" + echo -e "\e[0;33m" "The above ERROR/WARNING messages are informational only. The commit has not been blocked for this reason. In the future, these may cause your commit to be refused." "\e[0m" warned=1 fi echo -e "\e[0;33m" "Style guide compliance errors in $puppetmodule:" "\e[0m"