mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
fix: show error code
This commit is contained in:
parent
fd5f10deb8
commit
56b430fc14
1 changed files with 7 additions and 1 deletions
|
@ -438,7 +438,13 @@ impl WorkspaceLinter {
|
||||||
.url
|
.url
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map(|x| x.to_string()),
|
.map(|x| x.to_string()),
|
||||||
code: "foo".to_string(),
|
code: msg
|
||||||
|
.error
|
||||||
|
.code
|
||||||
|
.number
|
||||||
|
.as_ref()
|
||||||
|
.map(|x| x.to_string())
|
||||||
|
.unwrap(),
|
||||||
fixes: vec![],
|
fixes: vec![],
|
||||||
hint: None,
|
hint: None,
|
||||||
info: vec![],
|
info: vec![],
|
||||||
|
|
Loading…
Reference in a new issue