From ac8a490d5670cc5af25d3581b38eadd46a421d6c Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 27 Jul 2016 19:51:16 +0900 Subject: [PATCH] Fix lint warnings --- spec/api-shell-spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/api-shell-spec.js b/spec/api-shell-spec.js index 0dc86cee9131..8c9f9833848a 100644 --- a/spec/api-shell-spec.js +++ b/spec/api-shell-spec.js @@ -4,7 +4,7 @@ const path = require('path') const os = require('os') const {shell} = require('electron') -describe('shell module', function() { +describe('shell module', function () { if (process.platform !== 'win32') return const fixtures = path.resolve(__dirname, 'fixtures') @@ -34,7 +34,7 @@ describe('shell module', function() { describe('shell.writeShortcutLink(shortcutPath[, operation], options)', function () { const tmpShortcut = path.join(os.tmpdir(), `${Date.now()}.lnk`) - afterEach(function() { + afterEach(function () { fs.unlinkSync(tmpShortcut) })