Skip to content

Commit

Permalink
Imprve "no contracts in workspace" error wording. See #34
Browse files Browse the repository at this point in the history
  • Loading branch information
djnicholson committed Jan 21, 2021
1 parent bfe8258 commit 8796cde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/extension/commands/neoCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/extension/commands/neoExpressCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8796cde

Please sign in to comment.