Skip to content

Commit

Permalink
fix: trigger next pkg prepare after the prev publish
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Nov 23, 2020
1 parent 1453737 commit f74d185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/createInlinePluginCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,13 @@ function createInlinePluginCreator(packages, multiContext, synchronizer, flags)
};

const publish = async (pluginOptions, context) => {
next();

const res = await plugins.publish(context);
pkg._published = true;

debug("published: %s", pkg.name);

next();

// istanbul ignore next
return res.length ? res[0] : {};
};
Expand Down

0 comments on commit f74d185

Please sign in to comment.