Skip to content

Commit

Permalink
Update "canister alias not defined" error message (#218)
Browse files Browse the repository at this point in the history
* Update 'canister alias not defined' error message to encourage adding dependencies in dfx.json

* 0.13.3
  • Loading branch information
rvanasa authored Jun 15, 2023
1 parent 9304a9f commit 8f45250
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-motoko",
"displayName": "Motoko",
"description": "Motoko language support",
"version": "0.13.2",
"version": "0.13.3",
"publisher": "dfinity-foundation",
"repository": "https://github.com/dfinity/vscode-motoko",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ function checkImmediate(uri: string | TextDocument): boolean {
// Extra debugging information for `canister:` import errors
diagnostic = {
...diagnostic,
message: `${diagnostic.message}. This is usually fixed by running \`dfx deploy\``,
message: `${diagnostic.message}. This is usually fixed by running \`dfx deploy\` or adding \`dependencies\` in your dfx.json file`,
};
}

Expand Down

0 comments on commit 8f45250

Please sign in to comment.