Rebuild indexes
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
//Auto-enable plugin if needed
|
||||
if (conf.settings["plugins.default"])
|
||||
settings.plugins[plugin].enabled = settings.plugins[plugin].enabled ?? (console.debug(`metrics/app > auto-enabling ${plugin}`), true)
|
||||
//Mock plugins state and tokens if they're undefined
|
||||
//Mock plugins tokens if they're undefined
|
||||
if (mock) {
|
||||
const tokens = Object.entries(conf.metadata.plugins[plugin].inputs).filter(([key, value]) => (!/^plugin_/.test(key))&&(value.type === "token")).map(([key]) => key)
|
||||
for (const token of tokens) {
|
||||
|
||||
@@ -23,3 +23,4 @@ See their respective documentation for more informations about how to setup them
|
||||
* [📌 Starred topics](/source/plugins/topics/README.md)
|
||||
* [🧮 Repositories traffic](/source/plugins/traffic/README.md)
|
||||
* [🐤 Latest tweets](/source/plugins/tweets/README.md)
|
||||
* [⏰ WakaTime plugin](/source/plugins/wakatime/README.md)
|
||||
|
||||
Reference in New Issue
Block a user