From 8b86db4777c3927b74f19d69725587a273d8fc87 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Fri, 10 Feb 2017 22:32:13 +0100 Subject: [PATCH] Deprecated `--alias` --- bin/now-deploy.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/now-deploy.js b/bin/now-deploy.js index 36c13fd..9a258e0 100755 --- a/bin/now-deploy.js +++ b/bin/now-deploy.js @@ -177,6 +177,11 @@ if (argv.config) { cfg.setConfigFile(argv.config) } +if (Array.isArray(autoAliases)) { + console.log(`${chalk.red('Deprecated!')} The option ${chalk.grey('--alias')} will be removed soon.`) + console.log('Read more about the new way here: http://bit.ly/2l2v5Fg\n') +} + // Create a new deployment if user changed // the name or made _src public. // This should just work fine because it doesn't