Browse Source

Remove linter errors

Kevin Sawicki 9 years ago
parent
commit
d627ead273
3 changed files with 1 additions and 4 deletions
  1. 1 1
      lib/browser/api/app.js
  2. 0 1
      lib/common/api/crash-reporter.js
  3. 0 2
      lib/common/init.js

+ 1 - 1
lib/browser/api/app.js

@@ -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')

+ 0 - 1
lib/common/api/crash-reporter.js

@@ -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)

+ 0 - 2
lib/common/init.js

@@ -1,6 +1,4 @@
-const path = require('path')
 const timers = require('timers')
-const Module = require('module')
 
 process.atomBinding = function (name) {
   try {