From 633bfd1b7944276a0f742ce4223ef1755052b3ed Mon Sep 17 00:00:00 2001 From: macbre Date: Sun, 10 Mar 2024 22:55:52 +0000 Subject: [PATCH] extensions/postLoadDelay/postLoadDelay.js: Make eslint happy --- extensions/postLoadDelay/postLoadDelay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/postLoadDelay/postLoadDelay.js b/extensions/postLoadDelay/postLoadDelay.js index 123c6927..c8e95533 100644 --- a/extensions/postLoadDelay/postLoadDelay.js +++ b/extensions/postLoadDelay/postLoadDelay.js @@ -16,7 +16,7 @@ module.exports = function (phantomas) { // https://github.com/GoogleChrome/puppeteer/blob/v1.11.0/docs/api.md#framewaitforselectororfunctionortimeout-options-args phantomas.log("Will wait %d second(s) after load", delay); - phantomas.on("beforeClose", async (page) => { + phantomas.on("beforeClose", async () => { phantomas.log("Sleeping for %d seconds", delay); return setTimeout(delay * 1000);