remove console.log

This commit is contained in:
Feross Aboukhadijeh
2016-05-30 19:51:06 -07:00
parent bd358b7692
commit 19f177f3ee

View File

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