From 8f30e13ec128534f8070d63cc7c30cd1cef23ed1 Mon Sep 17 00:00:00 2001 From: David Balatero <dbalatero@gmail.com> Date: Wed, 21 Jun 2017 18:15:15 -0700 Subject: [PATCH] Rename autoupdate -> auto_update, remove redundancy --- app/{autoupdate.js => auto_update.js} | 4 ++-- main.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename app/{autoupdate.js => auto_update.js} (96%) diff --git a/app/autoupdate.js b/app/auto_update.js similarity index 96% rename from app/autoupdate.js rename to app/auto_update.js index df910db57..e33964655 100644 --- a/app/autoupdate.js +++ b/app/auto_update.js @@ -45,7 +45,7 @@ function onError(error) { console.log("Got an error while updating: ", error.stack); } -function initializeAutoUpdater() { +function initialize() { if (autoUpdateDisabled()) { return; } @@ -59,5 +59,5 @@ function initializeAutoUpdater() { } module.exports = { - initializeAutoUpdater + initialize }; diff --git a/main.js b/main.js index 80b1e0699..007cdc933 100644 --- a/main.js +++ b/main.js @@ -7,7 +7,7 @@ const ipc = electron.ipcMain; const Menu = electron.Menu; const shell = electron.shell; -const autoupdate = require('./app/autoupdate'); +const autoUpdate = require('./app/auto_update'); const windowState = require('./app/window_state'); console.log('setting AUMID'); @@ -154,7 +154,7 @@ function createWindow () { app.on('ready', function() { console.log('app ready'); - autoupdate.initializeAutoUpdater(); + autoUpdate.initialize(); createWindow();