Skip to content

Commit bf8ed79

Browse files
committed
chore: Ensure postinstall script does not crash on Windows
1 parent 2cbbb07 commit bf8ed79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"coverage": "nyc npm test",
114114
"lint": "eslint --ignore-path=.gitignore .",
115115
"lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
116-
"postinstall": " node -e \"try{require('./_postinstall')}catch(e){}\" || exit 0",
116+
"postinstall": " node -e \"try{require('./_postinstall')}catch(e){}\"",
117117
"prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
118118
"prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
119119
"prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",

0 commit comments

Comments
 (0)