From bf8ed799d57df53096da9d908ff577f305e1366f Mon Sep 17 00:00:00 2001 From: Mariusz Nowak Date: Wed, 21 Feb 2024 16:38:17 +0100 Subject: [PATCH] chore: Ensure postinstall script does not crash on Windows --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c4ee26f3..49f1c323 100644 --- a/package.json +++ b/package.json @@ -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}\"",