Skip to content

Commit 14085ea

Browse files
Marek Cirkosfacebook-github-bot
authored andcommitted
Check whether npm is installed
Summary: We have nice check for npm command, but we do not use it. It will print nice warning in case npm is missing Reviewed By: antiarchit Differential Revision: D6536544 fbshipit-source-id: 501189e77bd927ffd646c695995346fbc2eef133
1 parent 1e3b14a commit 14085ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Scripts/bootstrap.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ function fetch_and_build_dependencies() {
5454

5555
function build_inspector() {
5656
echo -e "${BOLD}Building Inspector"
57+
assert_has_npm
5758
CURRENT_DIR=$(pwd)
5859
RESOURCE_BUNDLE_DIR="$CURRENT_DIR/Resources/WebDriverAgent.bundle"
5960
INSPECTOR_DIR="$CURRENT_DIR/Inspector"

0 commit comments

Comments
 (0)