Fixing hooks/description to catch API fields without description tags

This commit is contained in:
nikhiljindal
2015-04-28 18:19:15 -07:00
parent a4316aa638
commit 7c99865c94
3 changed files with 28 additions and 28 deletions

View File

@@ -17,7 +17,7 @@
# Print 1 if the file in $1 is not in need of additional field descriptions, 0 otherwise.
FILE="$1"
if grep json: "${FILE}" | grep -v ,inline | grep -v -q description: | grep -v // ; then
if grep json: "${FILE}" | grep -v // | grep -v ,inline | grep -v -q description: ; then
echo "0"
else
echo "1"