1
0
Fork 0
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:
Marvin Hagemeister 2024-10-28 19:24:32 +01:00
parent fd5f10deb8
commit 56b430fc14

View file

@ -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![],