From 16b38a0151110c32872e66754e95e5197bebb1ed Mon Sep 17 00:00:00 2001 From: gagdiez Date: Tue, 23 Jan 2024 15:20:24 +0100 Subject: [PATCH] fix: added forgotten deprecated methods --- commands/deprecated.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/commands/deprecated.js b/commands/deprecated.js index 59210fd6..4c5953ba 100644 --- a/commands/deprecated.js +++ b/commands/deprecated.js @@ -2,7 +2,7 @@ const chalk = require('chalk'); module.exports = [ { - command: ['clean', 'repl', 'stake', 'evm-call', 'evm-view', 'set-api-key', 'js'], + command: ['clean', 'repl', 'stake', 'evm-call', 'evm-view', 'set-api-key', 'js', 'validators', 'proposals'], desc: false, handler: deprecated }, @@ -14,11 +14,10 @@ module.exports = [ ]; async function deprecated() { - console.log(chalk`This command has been {bold.red deprecated}`); - console.log(chalk`Consider using {bold.blue near-cli-rs} instead`); + console.log(chalk`\nThis command has been {bold.red deprecated}. Consider using {bold.blue near-cli-rs} instead\n`); } async function deprecatedDevDeploy() { - console.log(chalk`This command has been {bold.red deprecated}`); - console.log(chalk`Please use: {bold.white near create-random-account} and {bold.white near deploy} instead`); + console.log(chalk`\nThis command has been {bold.red deprecated}`); + console.log(chalk`Please use: {bold.white near create-account --useFaucet} to create a pre-funded account, and then {bold.white near deploy} to deploy the contract\n`); } \ No newline at end of file