Update action

This commit is contained in:
lowlighter
2020-10-24 18:06:10 +02:00
parent c15f398aa7
commit 65872428dd
2 changed files with 4 additions and 59285 deletions

59281
action/dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -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