@todesktop/runtime
Advanced tools
Comparing version 0.1.0-rc.6 to 0.1.0-rc.7
@@ -269,5 +269,2 @@ "use strict"; | ||
_log(...args) { | ||
if (!logger_1.default) { | ||
return; | ||
} | ||
let timeSinceCreatedAt; | ||
@@ -281,6 +278,9 @@ // This can fail when there's a ReferenceError in a test and Date is overwritten | ||
} | ||
electron_log_1.default.info(`AutoUpdater (${electron.app.name})${timeSinceCreatedAt}: ` + | ||
args.map((arg) => JSON.stringify(arg)).join(" ")); | ||
if (!logger_1.default) { | ||
return; | ||
} | ||
logger_1.default.info(`AutoUpdater (${electron.app.name})${timeSinceCreatedAt}: ` + | ||
args.map((arg) => JSON.stringify(arg)).join(" ")); | ||
electron_log_1.default.info(`AutoUpdater (${electron.app.name})${timeSinceCreatedAt}: ` + | ||
args.map((arg) => JSON.stringify(arg)).join(" ")); | ||
} | ||
@@ -287,0 +287,0 @@ _subscribeToElectronEvents() { |
{ | ||
"private": false, | ||
"name": "@todesktop/runtime", | ||
"version": "0.1.0-rc.6", | ||
"version": "0.1.0-rc.7", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Adam Lynch <contact@adamlynch.com> (http://adamlynch.com/)", |