Use const for requires
This commit is contained in:
parent
57f322a818
commit
709661156a
8 changed files with 41 additions and 66 deletions
|
@ -1,12 +1,6 @@
|
|||
var assert, path, remote, BrowserWindow;
|
||||
|
||||
assert = require('assert');
|
||||
|
||||
path = require('path');
|
||||
|
||||
remote = require('electron').remote;
|
||||
|
||||
BrowserWindow = remote.BrowserWindow;
|
||||
const assert = require('assert');
|
||||
const path = require('path');
|
||||
const BrowserWindow = require('electron').remote.BrowserWindow;
|
||||
|
||||
describe('debugger module', function() {
|
||||
var fixtures, w;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue