diff --git a/action/dist/index.js b/action/dist/index.js index 4ec73508..d60c9e7e 100644 --- a/action/dist/index.js +++ b/action/dist/index.js @@ -874,7 +874,7 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_actions_github_lib_gith followup:{enabled:bool(core.getInput("plugin_followup"))}, music:{enabled:bool(core.getInput("plugin_music"))} } - const 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(", ")}`) //Additional plugins options //Pagespeed diff --git a/action/index.mjs b/action/index.mjs index 0b2570ef..24f64b24 100644 --- a/action/index.mjs +++ b/action/index.mjs @@ -81,7 +81,7 @@ followup:{enabled:bool(core.getInput("plugin_followup"))}, music:{enabled:bool(core.getInput("plugin_music"))} } - const 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(", ")}`) //Additional plugins options //Pagespeed