Skip to content

Commit

Permalink
ci(scripts/is-it-pretty.sh): Added a detailed description on why trav…
Browse files Browse the repository at this point in the history
…is ci fails

ViacomInc#142
  • Loading branch information
victorsingh committed Feb 1, 2018
1 parent f1af8f2 commit a7b0147
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/is-it-pretty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a7b0147

Please sign in to comment.