Update utils.mjs

This commit is contained in:
lowlighter
2021-02-27 12:50:06 +01:00
parent 3eb0e301a6
commit a02cbd874d
3 changed files with 65 additions and 73 deletions

View File

@@ -32,7 +32,7 @@
//Generate gif
console.debug(`metrics/compute/${login}/plugins > skyline > generating frames`)
const framed = await imports.puppeteergif({page, width, height, frames, scale:quality})
const framed = await imports.record({page, width, height, frames, scale:quality})
//Close puppeteer
await browser.close()