Use const for fs/path requires
This commit is contained in:
parent
2b5cbe825a
commit
8df3856c8f
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ const dialog = electron.dialog;
|
|||
const shell = electron.shell;
|
||||
const Menu = electron.Menu;
|
||||
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
// Quit when all windows are closed and no other one is listening to this.
|
||||
app.on('window-all-closed', function() {
|
||||
|
|
Loading…
Reference in a new issue