]> khamidou — GitHub mirrors - electron.git/commitdiff
Remove lint errors
authorKevin Sawicki <kevinsawicki@gmail.com>
Wed, 3 Feb 2016 18:01:01 +0000 (10:01 -0800)
committerKevin Sawicki <kevinsawicki@gmail.com>
Tue, 9 Feb 2016 22:54:18 +0000 (14:54 -0800)
atom/browser/api/lib/auto-updater/auto-updater-win.js

index 1c81763f35ea1a7076548e00f70bca25c67c82cd..f5f2202f58d8690271215977baa76d21c5f46375 100644 (file)
@@ -5,7 +5,7 @@ const EventEmitter = require('events').EventEmitter;
 const squirrelUpdate = require('./squirrel-update-win');
 
 function AutoUpdater() {
-  EventEmitter.call(this)
+  EventEmitter.call(this);
 }
 
 require('util').inherits(AutoUpdater, EventEmitter);
@@ -13,11 +13,11 @@ require('util').inherits(AutoUpdater, EventEmitter);
 AutoUpdater.prototype.quitAndInstall = function() {
   squirrelUpdate.processStart();
   return app.quit();
-}
+};
 
 AutoUpdater.prototype.setFeedURL = function(updateURL) {
   return this.updateURL = updateURL;
-}
+};
 
 AutoUpdater.prototype.checkForUpdates = function() {
   if (!this.updateURL) {
@@ -51,12 +51,12 @@ AutoUpdater.prototype.checkForUpdates = function() {
       });
     };
   })(this));
-}
+};
 
 // Private: Emit both error object and message, this is to keep compatibility
 // with Old APIs.
-AutoUpdater.prototype.emitError = (message) {
+AutoUpdater.prototype.emitError = function(message) {
   return this.emit('error', new Error(message), message);
-}
+};
 
 module.exports = new AutoUpdater;