From b718e6ff53156a0aae486e570ce7c9cb8a3b822a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 31 Jul 2020 16:59:22 +0200 Subject: upgrade: deno_lint, dprint, swc (#6928) This commit upgrades: deno_lint 0.1.20 dprint-plugin-typescript 0.25.0 swc_ecmascript 0.1.0 SWC is no longer reexported from dprint nor deno_lint. --- cli/doc/node.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/doc/node.rs') diff --git a/cli/doc/node.rs b/cli/doc/node.rs index 690221ed0..4946924c6 100644 --- a/cli/doc/node.rs +++ b/cli/doc/node.rs @@ -1,5 +1,4 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -use crate::swc_common; use serde::Serialize; #[derive(Debug, PartialEq, Serialize, Clone)] @@ -23,7 +22,7 @@ pub struct Location { impl Into for swc_common::Loc { fn into(self) -> Location { - use crate::swc_common::FileName::*; + use swc_common::FileName::*; let filename = match &self.file.name { Real(path_buf) => path_buf.to_string_lossy().to_string(), -- cgit v1.2.3