chore: code formatting

This commit is contained in:
github-actions[bot]
2022-11-20 12:24:10 +00:00
parent e0475b96c5
commit 6f2bdb3d62

View File

@@ -18,7 +18,7 @@ export default async function({login, q, imports, data, account}, {enabled = fal
const page = await browser.newPage() const page = await browser.newPage()
await page.setViewport(viewport) await page.setViewport(viewport)
console.debug(`metrics/compute/${login}/plugins > screenshot > loading ${url}`) console.debug(`metrics/compute/${login}/plugins > screenshot > loading ${url}`)
await page.goto(url, {waitUntil:["domcontentloaded", "networkidle2"]}) await page.goto(url, {waitUntil: ["domcontentloaded", "networkidle2"]})
if (wait) if (wait)
await new Promise(solve => setTimeout(solve, wait)) await new Promise(solve => setTimeout(solve, wait))