Skip to content

Commit

Permalink
Some versions of jsdoc don’t support -v, so use —help instead to chec…
Browse files Browse the repository at this point in the history
…k for existence
  • Loading branch information
oglimmer committed Nov 25, 2016
1 parent c10672f commit 0ca5d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/jsdoc/createdoc.sh
@@ -1,6 +1,6 @@
#!/bin/sh

jsdoc -v 1>/dev/null
jsdoc --help 1>/dev/null
if [ $? -eq 0 ]; then
npm install ink-docstrap
rm -rf ../src/main/webapp/apidocs/*
Expand Down

0 comments on commit 0ca5d03

Please sign in to comment.