Skip to content

Commit

Permalink
fix(roc-plugin-repo): Solve problem when defining custom build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Feb 5, 2018
1 parent a1f2d55 commit 21fb625
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function scriptRunner(script) {
packageJSON.scripts[script] &&
// This check makes sure that we don't add the project again if we launched
// it with the same script through npm, only for normal repositories
(process.env.npm_lifecycle_event !== script && !isMonorepo),
(process.env.npm_lifecycle_event !== script || isMonorepo),
);

// Projects without custom scripts
Expand Down

0 comments on commit 21fb625

Please sign in to comment.