mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 19:13:54 +00:00
Fix lint issues
This commit is contained in:
parent
5be20276f7
commit
02bd19e75f
2 changed files with 2 additions and 4 deletions
|
|
@ -1,7 +1,5 @@
|
|||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const puppeteer = require("puppeteer");
|
||||
const JSZip = require("jszip");
|
||||
const imagemin = require("imagemin");
|
||||
const imageminOptipng = require("imagemin-optipng");
|
||||
|
||||
|
|
@ -21,7 +19,7 @@ class Shooter {
|
|||
this._page = await this._browser.newPage();
|
||||
this._page.setViewport({ width: 275, height: 116 * 3 });
|
||||
this._page.on("console", (...args) => {
|
||||
// console.log("PAGE LOG:", ...args);
|
||||
console.log("PAGE LOG:", ...args);
|
||||
});
|
||||
const url = `http://localhost:8080/?screenshot=1`;
|
||||
await this._page.goto(url);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
const JSZip = require("jszip");
|
||||
const fsPromises = require("fs").promises;
|
||||
const JSZip = require("jszip");
|
||||
const { FILE_TYPES } = require("./constants");
|
||||
|
||||
// Reduce an array down to it's unique value given an async hasher function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue