From c44e53a5b6bd8d995ddc32a0ba13d20bf4e70818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 10 May 2021 22:39:16 +0200 Subject: chore: upgrade crates (#10559) --- cli/lsp/analysis.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/lsp') diff --git a/cli/lsp/analysis.rs b/cli/lsp/analysis.rs index 103a9c810..fd848c564 100644 --- a/cli/lsp/analysis.rs +++ b/cli/lsp/analysis.rs @@ -95,7 +95,7 @@ pub fn get_lint_references( ) -> Result, AnyError> { let syntax = ast::get_syntax(media_type); let lint_rules = rules::get_recommended_rules(); - let mut linter = create_linter(syntax, lint_rules); + let linter = create_linter(syntax, lint_rules); // TODO(@kitsonk) we should consider caching the swc source file versions for // reuse by other processes let (_, lint_diagnostics) = -- cgit v1.2.3