Skip to content

Commit

Permalink
fix: beautify log labels
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed May 22, 2020
1 parent 747c226 commit 78cbc8a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/multiSemanticRelease.js
Expand Up @@ -161,6 +161,13 @@ async function releasePackage(pkg, createInlinePlugin, multiContext) {
const a = inlinePlugin[type];
const b = options[type];

// Just a label for logs.
Reflect.defineProperty(a, "pluginName", {
value: "Inline plugin",
writable: false,
enumerable: true,
});

joined[type] = b ? [a].concat(b) : a;

return joined;
Expand Down

0 comments on commit 78cbc8a

Please sign in to comment.