This commit is contained in:
Vishwac Sena Kannan 2019-09-19 18:09:22 -07:00
Родитель 0fda51908a
Коммит 0086e75e94
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -9,6 +9,15 @@ const chalk = require('chalk');
const pkg = require('../package.json');
const semver = require('semver');
const getLatestVersion = require('latest-version');
process.stdout.write(chalk.default.white(`\n\n-----------------------------------------------------------\n`));
process.stdout.write(chalk.default.redBright(` NOTICE:\n`));
process.stdout.write(chalk.default.whiteBright(` This tool has been deprecated.\n`));
process.stdout.write(chalk.default.white(` All functionality was ported over to the new BF CLI.\n`));
process.stdout.write(chalk.default.white(` To learn more visit `));
process.stdout.write(chalk.default.blueBright(`https://aka.ms/NewBFCLI\n`));
process.stdout.write(chalk.default.white(`-----------------------------------------------------------\n\n`));
getLatestVersion(pkg.name, { version: `>${pkg.version}` })
.catch((error) => pkg.version)
.then((latest) => {