From 4a0bc747dd043e6f02e744dd1bb256ac9027c7c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 26 Aug 2020 20:43:24 +0200 Subject: upgrade: swc, deno_doc, deno_lint, dprint (#7194) --- cli/lint.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/lint.rs') diff --git a/cli/lint.rs b/cli/lint.rs index 4e12d582c..ec5ee7ba8 100644 --- a/cli/lint.rs +++ b/cli/lint.rs @@ -225,7 +225,7 @@ impl LintReporter for PrettyLintReporter { Some(d.location.col as i64), Some((d.location.col + d.snippet_length) as i64), &[fmt_errors::format_location( - &d.location.filename, + &d.filename, d.location.line as i64, d.location.col as i64, )], @@ -288,5 +288,5 @@ impl LintReporter for JsonLintReporter { pub fn get_sort_key(a: &LintDiagnostic) -> String { let location = &a.location; - return format!("{}:{}:{}", location.filename, location.line, location.col); + return format!("{}:{}:{}", a.filename, location.line, location.col); } -- cgit v1.2.3