Skip to content

Commit

Permalink
feat(deno_lint): upgrade deno-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LongYinan committed Aug 27, 2020
1 parent bebd2d0 commit 8c664f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/deno-lint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
crate-type = ["cdylib"]

[dependencies]
deno_lint = "0.1.22"
deno_lint = "=0.1.25"
ignore = "0.4"
napi = { version = "0.4" }
napi-derive = { version = "0.4" }
Expand Down
2 changes: 1 addition & 1 deletion packages/deno-lint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub fn format_diagnostic(diagnostic: &LintDiagnostic) -> String {
diagnostic.message
);

let file_name = &diagnostic.location.filename;
let file_name = &diagnostic.filename;
let location =
if file_name.contains('/') || file_name.contains('\\') || file_name.starts_with("./") {
file_name.to_string()
Expand Down

0 comments on commit 8c664f1

Please sign in to comment.