firebase-tools
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -151,8 +151,12 @@ var prompt = require('prompt'), | ||
} else if (typeof(response.error) !== 'undefined') { | ||
console.log(chalk.red(response.error.message) + ' - Please update to at ' + | ||
'least v' + response.minCLI + ' by running ' + | ||
chalk.cyan('npm update -g ' + require('./firebase').name)); | ||
process.exit(1); | ||
} else if (typeof(callback) === 'function') { | ||
setTimeout(callback, 0, new Error('Email or Password Invalid')); | ||
if (typeof(response.minCLI) === 'undefined') { | ||
if (typeof(callback) === 'function') { | ||
setTimeout(callback, 0, new Error('Email or Password Invalid')); | ||
} | ||
} else { | ||
console.log(chalk.red(response.error.message) + ' - Please update to at ' + | ||
'least v' + response.minCLI + ' by running ' + | ||
chalk.cyan('npm update -g ' + require('./firebase').name)); | ||
process.exit(1); | ||
} | ||
} | ||
@@ -159,0 +163,0 @@ }, |
{ | ||
"name": "firebase-tools", | ||
"preferGlobal": true, | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "The Firebase Command Line Tools", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
70512
1496