Fix "plugin_projects" option

This commit is contained in:
lowlighter
2020-12-08 19:31:40 +01:00
parent 2cb00b08f6
commit 5a6b9f8a68
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -84,7 +84,7 @@
isocalendar:{enabled:bool(core.getInput("plugin_isocalendar"))}, isocalendar:{enabled:bool(core.getInput("plugin_isocalendar"))},
gists:{enabled:bool(core.getInput("plugin_gists"))}, gists:{enabled:bool(core.getInput("plugin_gists"))},
topics:{enabled:bool(core.getInput("plugin_topics"))}, topics:{enabled:bool(core.getInput("plugin_topics"))},
projects:{enabled:bool(core.getInput("projects"))}, projects:{enabled:bool(core.getInput("plugin_projects"))},
} }
let q = Object.fromEntries(Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => [key, true])) let q = Object.fromEntries(Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => [key, true]))
console.log(`Plugins enabled | ${Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => key).join(", ")}`) console.log(`Plugins enabled | ${Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => key).join(", ")}`)