Skip to content

Commit a0be4fd

Browse files
committed
fix: Ensure postinstall script does not error
1 parent f74cf7e commit a0be4fd

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
@@ -112,7 +112,7 @@
112112
"coverage": "nyc npm test",
113113
"lint": "eslint --ignore-path=.gitignore .",
114114
"lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
115-
"postinstall": " node -e \"try{require('./_postinstall')}catch(e){}\"",
115+
"postinstall": " node -e \"try{require('./_postinstall')}catch(e){}\" || exit 0",
116116
"prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
117117
"prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
118118
"prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",

0 commit comments

Comments
 (0)