Skip to content

Commit 78cbc8a

Browse files
committed
fix: beautify log labels
1 parent 747c226 commit 78cbc8a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/multiSemanticRelease.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ async function releasePackage(pkg, createInlinePlugin, multiContext) {
161161
const a = inlinePlugin[type];
162162
const b = options[type];
163163

164+
// Just a label for logs.
165+
Reflect.defineProperty(a, "pluginName", {
166+
value: "Inline plugin",
167+
writable: false,
168+
enumerable: true,
169+
});
170+
164171
joined[type] = b ? [a].concat(b) : a;
165172

166173
return joined;

0 commit comments

Comments
 (0)