From 2958530365fe60c6fc2b92f20697fe60f81ba937 Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Tue, 4 May 2021 00:18:14 +0200 Subject: [PATCH 1/3] Update metadata.yml --- source/plugins/wakatime/metadata.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugins/wakatime/metadata.yml b/source/plugins/wakatime/metadata.yml index f5571cf5..becdb6e4 100644 --- a/source/plugins/wakatime/metadata.yml +++ b/source/plugins/wakatime/metadata.yml @@ -68,4 +68,4 @@ inputs: plugin_wakatime_user: description: Your Wakatime user on the selfhosted Wakapi instance type: string - default: .user.login + default: current From 4ff4ef1f31de31c449cbb5c6438cc6a7fec78039 Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Tue, 4 May 2021 00:19:24 +0200 Subject: [PATCH 2/3] Switch console.log to console.debu --- source/plugins/achievements/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugins/achievements/index.mjs b/source/plugins/achievements/index.mjs index ee0439f7..ff844072 100644 --- a/source/plugins/achievements/index.mjs +++ b/source/plugins/achievements/index.mjs @@ -81,7 +81,7 @@ async function total({imports}) { const page = await browser.newPage() await page.goto("https://github.com/search") const result = await page.evaluate(() => [...document.querySelectorAll("h2")].filter(node => /Search more/.test(node.innerText)).shift()?.innerText.trim().match(/(?\d+)M\s+(?repositories|users|issues)$/)?.groups) ?? null - console.log(`metrics/compute/plugins > achievements > setup found ${result?.type ?? "(?)"}`) + console.debug(`metrics/compute/plugins > achievements > setup found ${result?.type ?? "(?)"}`) if ((result?.type) && (!total[result.type])) { const {count, type} = result total[type] = Number(count) * 10e5 From 5bed508ff33ae8c2a87d86aaff55b59507445446 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 May 2021 22:47:46 +0000 Subject: [PATCH 3/3] Auto-regenerate files --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index a3a5e866..4e32a7ef 100644 --- a/action.yml +++ b/action.yml @@ -1008,7 +1008,7 @@ inputs: # Username on Wakatime plugin_wakatime_user: description: Your Wakatime user on the selfhosted Wakapi instance - default: .user.login + default: current # ==================================================================================== # 💹 Stock prices