From 19f177f3eec1e7eb0e4dfea949f5766583b8bfbe Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 30 May 2016 19:51:06 -0700 Subject: [PATCH] remove console.log --- main/log.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main/log.js b/main/log.js index 08bc7b12..e8a05924 100644 --- a/main/log.js +++ b/main/log.js @@ -9,17 +9,11 @@ module.exports.error = error */ var electron = require('electron') - -var config = require('../config') var windows = require('./windows') var app = electron.app function log (...args) { - if (!config.IS_PRODUCTION) { - // In development, also log to the console - console.log(...args) - } if (app.ipcReady) { windows.main.send('log', ...args) } else {