Fix lint issues

This commit is contained in:
Jordan Eldredge 2019-02-09 23:21:04 -05:00
parent 5be20276f7
commit 02bd19e75f
2 changed files with 2 additions and 4 deletions

View file

@ -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);

View file

@ -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