fix lint errors

This commit is contained in:
Vanessa Yuen 2017-08-01 11:50:57 -04:00
parent eaa63c880e
commit 1577360312
2 changed files with 15 additions and 17 deletions

View file

@ -2,7 +2,7 @@ const tape = require('tape')
const proxyquire = require('proxyquire')
const path = require('path')
const sinon = require('sinon')
const admZip = require('adm-zip')
const AdmZip = require('adm-zip')
const temp = require('temp')
let sandbox
@ -59,7 +59,6 @@ tape('fails for unsupported platforms', (t) => {
})
tape('extract file', (t) => {
sandbox.restore()
sandbox.stub(process, 'env').value(
@ -67,7 +66,7 @@ tape('extract file', (t) => {
)
// add file directly
const zip = new admZip()
const zip = new AdmZip()
zip.addFile('test.txt', Buffer.from('electron install test'))
zip.writeZip(path.join(tempDir, 'test.zip'))