Skip to content

Commit babd477

Browse files
don't silently ignore the error at link-source script when called
1 parent 24dd92e commit babd477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react_on_rails_pro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"packages/node-renderer/dist"
104104
],
105105
"scripts": {
106-
"preinstall": "(test -f yarn.lock && yarn run link-source && yalc add --link react-on-rails) || true",
106+
"preinstall": "test -f yarn.lock || exit 0; yarn run link-source && yalc add --link react-on-rails",
107107
"postinstall": "test -f post-yarn-install.local && ./post-yarn-install.local || true",
108108
"link-source": "cd ../packages/react-on-rails && yarn && yalc publish",
109109
"test": "nps test",

0 commit comments

Comments
 (0)