Skip to content

Commit f74d185

Browse files
committed
fix: trigger next pkg prepare after the prev publish
1 parent 1453737 commit f74d185

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/createInlinePluginCreator.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,13 @@ function createInlinePluginCreator(packages, multiContext, synchronizer, flags)
194194
};
195195

196196
const publish = async (pluginOptions, context) => {
197-
next();
198-
199197
const res = await plugins.publish(context);
200198
pkg._published = true;
201199

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

202+
next();
203+
204204
// istanbul ignore next
205205
return res.length ? res[0] : {};
206206
};

0 commit comments

Comments
 (0)