Update action
This commit is contained in:
59281
action/dist/index.js
vendored
59281
action/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -66,10 +66,8 @@
|
||||
//Base elements
|
||||
const base = {}
|
||||
let parts = (core.getInput("base")||"").split(",").map(part => part.trim())
|
||||
if (!parts.length)
|
||||
parts = conf.settings.plugins.base.parts
|
||||
for (const part of parts)
|
||||
base[`base.${part}`] = true
|
||||
for (const part of (parts.length ? parts : conf.settings.plugins.base.parts))
|
||||
base[`base.${part}`] = parts.includes(part)
|
||||
console.log(`Base parts | ${parts.join(", ")}`)
|
||||
|
||||
//Additional plugins
|
||||
|
||||
Reference in New Issue
Block a user