Skip to content

Commit

Permalink
core: do not run prepare if src not present
Browse files Browse the repository at this point in the history
npm insists that a file:// dep needs its prepare script run, but we know
better in this case.
  • Loading branch information
isaacs committed Jun 30, 2024
1 parent 85d100c commit 3a4f8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 46,7 @@
"scripts": {
"snap": "tap",
"test": "tap",
"prepare": "tshy",
"prepare": "bash -c 'if [ -d src ]; then tshy; fi'",
"pretest": "npm run prepare",
"presnap": "npm run prepare",
"format": "prettier --write . --loglevel warn --ignore-path ../../.prettierignore --cache",
Expand Down

0 comments on commit 3a4f8ae

Please sign in to comment.