Skip to content

Commit

Permalink
add || true to postinstall for ignore error exit codes
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed May 23, 2019
1 parent 7fd1c97 commit 39fad35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core-js-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"shim"
],
"scripts": {
"postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\""
"postinstall": "node scripts/postinstall || true"
}
}
2 changes: 1 addition & 1 deletion packages/core-js-pure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"shim"
],
"scripts": {
"postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\""
"postinstall": "node scripts/postinstall || true"
}
}
2 changes: 1 addition & 1 deletion packages/core-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"shim"
],
"scripts": {
"postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\""
"postinstall": "node scripts/postinstall || true"
}
}

0 comments on commit 39fad35

Please sign in to comment.