Fix lint warnings
This commit is contained in:
parent
eadffc6db8
commit
ac8a490d56
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue