Skip to content

Commit

Permalink
Remove usages of npm bin (#710)
Browse files Browse the repository at this point in the history
`npm bin` has been removed in npm v9 and above.
We don't need it anyway cause `npm run` automatically adds `node_modules/.bin` to the `PATH` provided to scripts.
  • Loading branch information
pradeepnschrodinger authored Dec 7, 2023
1 parent d8c4514 commit 5a0065d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion build_helpers/buildStaticSite.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
set -e
PATH=$(npm bin):$PATH

rm -rf ./__site__
rm -rf ./__site_prerender__
Expand Down
1 change: 0 additions & 1 deletion build_helpers/startSiteDevServer.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
set -e
PATH=$(npm bin):$PATH

rm -rf ./__site__
rm -rf ./__site_prerender__
Expand Down

0 comments on commit 5a0065d

Please sign in to comment.