From a7b01473ac4162a24c98789d0a9204a9d43a3a2d Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 1 Feb 2018 10:41:19 -0500 Subject: [PATCH] ci(scripts/is-it-pretty.sh): Added a detailed description on why travis ci fails #142 --- scripts/is-it-pretty.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/is-it-pretty.sh b/scripts/is-it-pretty.sh index 4e8c00db..baac5aa3 100755 --- a/scripts/is-it-pretty.sh +++ b/scripts/is-it-pretty.sh @@ -3,10 +3,9 @@ node_modules/.bin/prettier-standard '**/*.js' if [ -z "$(git status --porcelain)" ]; then # Working directory clean - echo 'OK' exit 0 else # Uncommitted changes - echo 'BAD' + echo 'There are javascript files in this project that do not follow the prettify standard!' exit 1 fi