Skip to content

Commit

Permalink
Remove npm bin from build.sh
Browse files Browse the repository at this point in the history
`npm bin` was [removed in npm 9](npm/cli#5459).
`npx` or `npm exec` should be used instead. `build.sh` already uses `npm
exec`, since aws#24217.
  • Loading branch information
douglasnaphas committed Jun 9, 2023
1 parent 6d32b65 commit eb02701
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ while [[ "${1:-}" != "" ]]; do
shift
done

export PATH=$(npm bin):$PATH
export NODE_OPTIONS="--max-old-space-size=8196 --experimental-worker ${NODE_OPTIONS:-}"

# Temporary log memory for long builds (this may mess with tests that check stderr)
Expand Down

0 comments on commit eb02701

Please sign in to comment.