Permalink
Browse files

script/ci.sh: use echo instead of printf if doc coverage test failed

printf errors if you don't escape the `%` symbol:

```
$ printf "Failed: documentation coverage is less than 100%"
-bash: printf: `%': missing format character
```

It seems fine to just use echo here instead.
  • Loading branch information...
1 parent cc57fc4 commit c75d0130173bbb16c6d0132b46ab4d15bab5cc93 @mcfiredrill mcfiredrill committed Dec 9, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 script/ci.sh
View
@@ -100,7 +100,7 @@ fold "features" run script/test features/
check_warnings
if ! bundle exec yard stats --list-undoc | tee /dev/stdout | grep -q '100.00% documented'; then
- printf "Failed: documentation coverage is less than 100%"
+ echo "Failed: documentation coverage is less than 100%"
STATUS=1
fi

0 comments on commit c75d013

Please sign in to comment.