Merge pull request #98 from ful1e5/main-cf-autofix

Apply fixes from CodeFactor
This commit is contained in:
Kaiz Khatri 2021-04-07 17:51:51 +05:30 committed by GitHub
commit c7fb548aa8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ class BitmapsGenerator {
* Prepare headless browser.
*/
public async getBrowser(): Promise<Browser> {
return await puppeteer.launch({
return puppeteer.launch({
ignoreDefaultArgs: ["--no-sandbox"],
headless: true,
});