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'
|
||||
|
||||
const electron = require('electron')
|
||||
const {session, Menu} = electron
|
||||
const {Menu} = electron
|
||||
const EventEmitter = require('events').EventEmitter
|
||||
|
||||
const bindings = process.atomBinding('app')
|
||||
|
|
|
@ -48,7 +48,6 @@ var CrashReporter = (function () {
|
|||
}
|
||||
if (submitURL == null) {
|
||||
throw new Error('submitURL is a required option to crashReporter.start')
|
||||
return
|
||||
}
|
||||
start = () => {
|
||||
binding.start(this.productName, companyName, submitURL, autoSubmit, ignoreSystemCrashHandler, extra)
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
const path = require('path')
|
||||
const timers = require('timers')
|
||||
const Module = require('module')
|
||||
|
||||
process.atomBinding = function (name) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue