From 39fad35c86b0f2173a8ef530956173349cb33309 Mon Sep 17 00:00:00 2001 From: Denis Pushkarev Date: Fri, 24 May 2019 05:02:13 +0700 Subject: [PATCH] add `|| true` to postinstall for ignore error exit codes --- packages/core-js-bundle/package.json | 2 +- packages/core-js-pure/package.json | 2 +- packages/core-js/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core-js-bundle/package.json b/packages/core-js-bundle/package.json index 3e51bec3c9c3..bc6a4133d2aa 100644 --- a/packages/core-js-bundle/package.json +++ b/packages/core-js-bundle/package.json @@ -46,6 +46,6 @@ "shim" ], "scripts": { - "postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\"" + "postinstall": "node scripts/postinstall || true" } } diff --git a/packages/core-js-pure/package.json b/packages/core-js-pure/package.json index b10a822632be..d8c447de2448 100644 --- a/packages/core-js-pure/package.json +++ b/packages/core-js-pure/package.json @@ -46,6 +46,6 @@ "shim" ], "scripts": { - "postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\"" + "postinstall": "node scripts/postinstall || true" } } diff --git a/packages/core-js/package.json b/packages/core-js/package.json index 5ed01c437ab0..9e1d68bc5c40 100644 --- a/packages/core-js/package.json +++ b/packages/core-js/package.json @@ -46,6 +46,6 @@ "shim" ], "scripts": { - "postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\"" + "postinstall": "node scripts/postinstall || true" } }