eslint: prefer-const
This commit is contained in:
parent
285c7a44fd
commit
6f06fccd46
2 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ export const stealth = async context => {
|
|||
const evasion = await import(`puppeteer-extra-plugin-stealth/evasions/${e}/index.js`);
|
||||
evasion.default().onPageCreated(stealth);
|
||||
}
|
||||
for (let evasion of stealth.callbacks) {
|
||||
for (const evasion of stealth.callbacks) {
|
||||
await context.addInitScript(evasion.cb, evasion.a);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue