Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CB-3380 Skip NPM check when dependencies are bundled
  • Loading branch information
bryanhiggins committed Jan 10, 2014
1 parent 86e654c commit 38a98c768a4b6a27f1f2aa56f8ccc160b3740c55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -63,7 +63,7 @@ if [ -z "$CORDOVA_NODE" ] && [ -z "$CORDOVA_BBTOOLS" ]; then
if [ ! -x "$NODE" ]; then
echo node cannot be found on the path. Aborting.
EXIT_CODE=2
elif [ ! -x "$NPM" ]; then
elif [ ! -x "$LOCAL_NODE_BIN" && ! -x "$NPM" ]; then
echo npm cannot be found on the path. Aborting.
EXIT_CODE=2
elif [ ! -x "$JAVA" ]; then
@@ -83,7 +83,7 @@ if exist "%LOCAL_BBTOOLS_BINARY%" (
)
)

if not exist "%CORDOVA_NODE%\node.exe" (
if not exist "%LOCAL_NODE_BINARY%" && not exist "%CORDOVA_NODE%\node.exe" (
echo node cannot be found on the path. Aborting.
exit /b 2
)

0 comments on commit 38a98c7

Please sign in to comment.