fix: remove extra ()
This commit is contained in:
@@ -82,9 +82,9 @@ export default class Interpreter extends EventEmitter {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
PlaywrightBlocker.fromPrebuiltAdsAndTracking(fetch).then((blocker) => {
|
PlaywrightBlocker.fromPrebuiltAdsAndTracking(fetch).then(blocker => {
|
||||||
this.blocker = blocker;
|
this.blocker = blocker;
|
||||||
}).catch((err) => {
|
}).catch(err => {
|
||||||
this.log(`Failed to initialize ad-blocker:`, Level.ERROR);
|
this.log(`Failed to initialize ad-blocker:`, Level.ERROR);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user