Fix const
This commit is contained in:
2
action/dist/index.js
vendored
2
action/dist/index.js
vendored
@@ -874,7 +874,7 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_actions_github_lib_gith
|
|||||||
followup:{enabled:bool(core.getInput("plugin_followup"))},
|
followup:{enabled:bool(core.getInput("plugin_followup"))},
|
||||||
music:{enabled:bool(core.getInput("plugin_music"))}
|
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(", ")}`)
|
console.log(`Plugins enabled | ${Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => key).join(", ")}`)
|
||||||
//Additional plugins options
|
//Additional plugins options
|
||||||
//Pagespeed
|
//Pagespeed
|
||||||
|
|||||||
@@ -81,7 +81,7 @@
|
|||||||
followup:{enabled:bool(core.getInput("plugin_followup"))},
|
followup:{enabled:bool(core.getInput("plugin_followup"))},
|
||||||
music:{enabled:bool(core.getInput("plugin_music"))}
|
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(", ")}`)
|
console.log(`Plugins enabled | ${Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => key).join(", ")}`)
|
||||||
//Additional plugins options
|
//Additional plugins options
|
||||||
//Pagespeed
|
//Pagespeed
|
||||||
|
|||||||
Reference in New Issue
Block a user