We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bebd2d0 commit 8c664f1Copy full SHA for 8c664f1
packages/deno-lint/Cargo.toml
@@ -8,7 +8,7 @@ edition = "2018"
8
crate-type = ["cdylib"]
9
10
[dependencies]
11
-deno_lint = "0.1.22"
+deno_lint = "=0.1.25"
12
ignore = "0.4"
13
napi = { version = "0.4" }
14
napi-derive = { version = "0.4" }
packages/deno-lint/src/lib.rs
@@ -69,7 +69,7 @@ pub fn format_diagnostic(diagnostic: &LintDiagnostic) -> String {
69
diagnostic.message
70
);
71
72
- let file_name = &diagnostic.location.filename;
+ let file_name = &diagnostic.filename;
73
let location =
74
if file_name.contains('/') || file_name.contains('\\') || file_name.starts_with("./") {
75
file_name.to_string()
0 commit comments