We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4009d14 commit c329357Copy full SHA for c329357
commands/tools-migrate.js
@@ -21,6 +21,10 @@ module.exports = new Command('tools:migrate')
21
.description('ensure your firebase.json format is up to date')
22
.option('-y, --confirm', 'pass this option to bypass confirmation prompt')
23
.action(function(options) {
24
+ if (!options.config) {
25
+ return utils.reject('Must run ' + chalk.bold('tools:migrate') + ' from a directory with a firebase.json');
26
+ }
27
+
28
utils.logBullet('Checking feature configuration...');
29
var out = _.cloneDeep(options.config._src);
30
var changed = false;
0 commit comments