Merge pull request #1385 from microsoft/emimunoz/revert-deprecation

Revert breaking deprecation message
This commit is contained in:
Emilio Munoz 2019-12-06 11:07:22 -08:00 коммит произвёл GitHub
Родитель 88c78c41ab a31b07f185
Коммит 8d762dcb08
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 8 добавлений и 8 удалений

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

@ -67,13 +67,13 @@ async function runProgram() {
argvFragment = ['-h'];
}
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`));
// 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`));
const latest = await latestVersion(pkg.name, {version: `>${pkg.version}`})
.catch(() => pkg.version);

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

@ -1,6 +1,6 @@
{
"name": "qnamaker",
"version": "1.3.2",
"version": "1.3.3",
"description": "Tooling for connectivity with the QnA Maker APIs",
"main": "lib/api/index.js",
"bin": {