forked from denoland/deno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(cli): unify display of errors from Rust and JS (denoland#5183)
- Loading branch information
1 parent
670d01d
commit 1fddcc3
Showing
10 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[WILDCARD]Unsupported compiler options in "[WILDCARD]config.tsconfig.json" | ||
The following options were ignored: | ||
module, target | ||
error TS2532: Object is possibly 'undefined'. | ||
error: TS2532 [ERROR]: Object is possibly 'undefined'. | ||
if (map.get("bar").foo) { | ||
~~~~~~~~~~~~~~ | ||
at [WILDCARD]tests/config.ts:3:5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Cannot resolve module "[WILDCARD]missing_file_name" | ||
error: Cannot resolve module "[WILDCARD]missing_file_name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[WILDCARD]error TS2532: Object is possibly 'undefined'. | ||
[WILDCARD] | ||
error: TS2532 [ERROR]: Object is possibly 'undefined'. | ||
at [WILDCARD]tests/error_017_hide_long_source_ts.ts:2:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[WILDCARD] | ||
Remote module are not allowed to statically import local modules. Use dynamic import instead. | ||
error: Remote module are not allowed to statically import local modules. Use dynamic import instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[WILDCARD] | ||
error TS2339: Property 'loadavg' does not exist on type 'typeof Deno'. | ||
error: TS2339 [ERROR]: Property 'loadavg' does not exist on type 'typeof Deno'. | ||
console.log(Deno.loadavg); | ||
~~~~~~~ | ||
at [WILDCARD]/cli/tests/unstable.ts:1:18 |