Skip to content

Commit

Permalink
chore: Ensure postinstall script does not crash on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Feb 21, 2024
1 parent 2cbbb07 commit bf8ed79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"coverage": "nyc npm test",
"lint": "eslint --ignore-path=.gitignore .",
"lint:updated": "pipe-git-updated --base=main --ext=js -- eslint --ignore-pattern '!*'",
"postinstall": " node -e \"try{require('./_postinstall')}catch(e){}\" || exit 0",
"postinstall": " node -e \"try{require('./_postinstall')}catch(e){}\"",
"prettier-check": "prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
"prettier-check:updated": "pipe-git-updated --base=main --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c",
"prettify": "prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"",
Expand Down

0 comments on commit bf8ed79

Please sign in to comment.