From 8796cdeb06a14fa540cf3e5ab14ffad873b08582 Mon Sep 17 00:00:00 2001 From: David Nicholson Date: Thu, 21 Jan 2021 12:37:35 -0800 Subject: [PATCH] Imprve "no contracts in workspace" error wording. See #34 --- src/extension/commands/neoCommands.ts | 2 +- src/extension/commands/neoExpressCommands.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension/commands/neoCommands.ts b/src/extension/commands/neoCommands.ts index 014a465..f0d1a8f 100644 --- a/src/extension/commands/neoCommands.ts +++ b/src/extension/commands/neoCommands.ts @@ -26,7 +26,7 @@ export default class NeoCommands { } if (!Object.keys(contractDetector.contracts).length) { vscode.window.showErrorMessage( - "No compiled contracts (*.nef files) were found in the current workspace." + "No compiled contracts were found in the current workspace. A compiled contract (*.nef file) along with its manifest (*.manifest.json file) is required for deployment." ); return; } diff --git a/src/extension/commands/neoExpressCommands.ts b/src/extension/commands/neoExpressCommands.ts index 96efb63..f3a787b 100644 --- a/src/extension/commands/neoExpressCommands.ts +++ b/src/extension/commands/neoExpressCommands.ts @@ -20,7 +20,7 @@ export default class NeoExpressCommands { } if (!Object.keys(contractDetector.contracts).length) { vscode.window.showErrorMessage( - "No compiled contracts (*.nef files) were found in the current workspace." + "No compiled contracts were found in the current workspace. A compiled contract (*.nef file) along with its manifest (*.manifest.json file) is required for deployment." ); return; }