Fix the local npm compiler build script (#2698)

The google closure compiler has moved the java compiler into it's own package under google-closure-compiler-java. Updating paths to reflect that.
This commit is contained in:
Sam El-Husseini
2019-07-24 11:08:54 -07:00
committed by GitHub
parent 2f7a42e3fa
commit 8d72f713a5
2 changed files with 11 additions and 8 deletions

View File

@@ -23,8 +23,8 @@ fi
# Find the Closure Compiler.
if [ -n $NODE_MODULES ] && \
[ -s $NODE_MODULES/google-closure-compiler/compiler.jar ]; then
COMPILER=$NODE_MODULES/google-closure-compiler/compiler.jar
[ -s $NODE_MODULES/google-closure-compiler-java/compiler.jar ]; then
COMPILER=$NODE_MODULES/google-closure-compiler-java/compiler.jar
echo "Found npm google-closure-compiler:"
echo " $COMPILER"
npm list google-closure-compiler | grep google-closure-compiler