make logs consistent

This commit is contained in:
Feross Aboukhadijeh
2016-08-05 21:44:32 -07:00
parent 4126d15821
commit 14fcbfcced
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ function init () {
function onResponse (err, res, data) { function onResponse (err, res, data) {
if (err) return log(`Failed to retrieve announcement: ${err.message}`) if (err) return log(`Failed to retrieve announcement: ${err.message}`)
if (res.statusCode !== 200) return log('No announcement exists') if (res.statusCode !== 200) return log('No announcement available')
try { try {
data = JSON.parse(data.toString()) data = JSON.parse(data.toString())

View File

@@ -63,7 +63,7 @@ function initDarwinWin32 () {
electron.autoUpdater.on( electron.autoUpdater.on(
'update-not-available', 'update-not-available',
() => log('Update not available') () => log('No update available')
) )
electron.autoUpdater.on( electron.autoUpdater.on(