Fix lint warnings

This commit is contained in:
Cheng Zhao 2016-07-27 19:51:16 +09:00
parent eadffc6db8
commit ac8a490d56

View file

@ -4,7 +4,7 @@ const path = require('path')
const os = require('os') const os = require('os')
const {shell} = require('electron') const {shell} = require('electron')
describe('shell module', function() { describe('shell module', function () {
if (process.platform !== 'win32') return if (process.platform !== 'win32') return
const fixtures = path.resolve(__dirname, 'fixtures') const fixtures = path.resolve(__dirname, 'fixtures')
@ -34,7 +34,7 @@ describe('shell module', function() {
describe('shell.writeShortcutLink(shortcutPath[, operation], options)', function () { describe('shell.writeShortcutLink(shortcutPath[, operation], options)', function () {
const tmpShortcut = path.join(os.tmpdir(), `${Date.now()}.lnk`) const tmpShortcut = path.join(os.tmpdir(), `${Date.now()}.lnk`)
afterEach(function() { afterEach(function () {
fs.unlinkSync(tmpShortcut) fs.unlinkSync(tmpShortcut)
}) })