Skip to content

Commit

Permalink
build: autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche committed Feb 26, 2021
1 parent 28ffbf2 commit 93c647b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions dist-ncc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,14 @@ function run(env = process.env) {
const force = core.getInput('force', { required: false });
const log = debug ? core.info : core.debug;
plugins.forEach(p => {
const pName = typeof (p) === 'string'
? p
: Array.isArray(p)
? p[0]
: p.path;
pName && packages.push(pName);
const pDef = Array.isArray(p)
? p[0]
: typeof p === 'object'
? p.path
: p;
if (typeof pDef === 'string' && pDef !== '') {
packages.push(pDef);
}
});
if (config.preset) {
packages.push('conventional-changelog-' + config.preset);
Expand Down
2 changes: 1 addition & 1 deletion dist-ncc/index.js.map

Large diffs are not rendered by default.

0 comments on commit 93c647b

Please sign in to comment.