Browse Source

Fix lint warnings

Cheng Zhao 8 years ago
parent
commit
ac8a490d56
1 changed files with 2 additions and 2 deletions
  1. 2 2
      spec/api-shell-spec.js

+ 2 - 2
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)
     })