summaryrefslogtreecommitdiff
path: root/cli/doc/node.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-07-31 16:59:22 +0200
committerGitHub <noreply@github.com>2020-07-31 16:59:22 +0200
commitb718e6ff53156a0aae486e570ce7c9cb8a3b822a (patch)
tree6930f093a20466f4333e24eda2cd059807a36314 /cli/doc/node.rs
parent4afb4b6e46de2ed536a3c9828d70d7799b5b6d03 (diff)
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.
Diffstat (limited to 'cli/doc/node.rs')
-rw-r--r--cli/doc/node.rs3
1 files changed, 1 insertions, 2 deletions
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<Location> 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(),