Skip to content

Commit

Permalink
Disable global-require check for default template call to electron-sq…
Browse files Browse the repository at this point in the history
…uirrel-startup
  • Loading branch information
malept committed Sep 10, 2017
1 parent e0e42aa commit 212cceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmpl/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { app, BrowserWindow } from 'electron';

// Handle creating/removing shortcuts on Windows when installing/uninstalling.
if (require('electron-squirrel-startup')) {
if (require('electron-squirrel-startup')) { // eslint-disable-line global-require
app.quit();
}

Expand Down

0 comments on commit 212cceb

Please sign in to comment.