Remove linter errors
This commit is contained in:
parent
16d4c436cb
commit
d627ead273
3 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
const electron = require('electron')
|
const electron = require('electron')
|
||||||
const {session, Menu} = electron
|
const {Menu} = electron
|
||||||
const EventEmitter = require('events').EventEmitter
|
const EventEmitter = require('events').EventEmitter
|
||||||
|
|
||||||
const bindings = process.atomBinding('app')
|
const bindings = process.atomBinding('app')
|
||||||
|
|
|
@ -48,7 +48,6 @@ var CrashReporter = (function () {
|
||||||
}
|
}
|
||||||
if (submitURL == null) {
|
if (submitURL == null) {
|
||||||
throw new Error('submitURL is a required option to crashReporter.start')
|
throw new Error('submitURL is a required option to crashReporter.start')
|
||||||
return
|
|
||||||
}
|
}
|
||||||
start = () => {
|
start = () => {
|
||||||
binding.start(this.productName, companyName, submitURL, autoSubmit, ignoreSystemCrashHandler, extra)
|
binding.start(this.productName, companyName, submitURL, autoSubmit, ignoreSystemCrashHandler, extra)
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
const path = require('path')
|
|
||||||
const timers = require('timers')
|
const timers = require('timers')
|
||||||
const Module = require('module')
|
|
||||||
|
|
||||||
process.atomBinding = function (name) {
|
process.atomBinding = function (name) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue