Clean up no-unused-vars lint errors
This commit is contained in:
parent
ccce284a5b
commit
70bcb0ac5a
36 changed files with 228 additions and 344 deletions
|
@ -1,16 +1,8 @@
|
|||
var assert, child_process, fs, os, path, remote;
|
||||
|
||||
assert = require('assert');
|
||||
|
||||
child_process = require('child_process');
|
||||
|
||||
fs = require('fs');
|
||||
|
||||
path = require('path');
|
||||
|
||||
os = require('os');
|
||||
|
||||
remote = require('electron').remote;
|
||||
const assert = require('assert');
|
||||
const child_process = require('child_process');
|
||||
const path = require('path');
|
||||
const os = require('os');
|
||||
const remote = require('electron').remote;
|
||||
|
||||
describe('node feature', function() {
|
||||
var fixtures;
|
||||
|
@ -103,7 +95,7 @@ describe('node feature', function() {
|
|||
error = new Error('boo!');
|
||||
lsts = process.listeners('uncaughtException');
|
||||
process.removeAllListeners('uncaughtException');
|
||||
process.on('uncaughtException', function(err) {
|
||||
process.on('uncaughtException', function() {
|
||||
var i, len, lst;
|
||||
process.removeAllListeners('uncaughtException');
|
||||
for (i = 0, len = lsts.length; i < len; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue