Fix "plugin_projects" option
This commit is contained in:
2
action/dist/index.js
vendored
2
action/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -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(", ")}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user