summaryrefslogtreecommitdiff
path: root/cli/node/mod.rs
diff options
context:
space:
mode:
authorYiyu Lin <linyiyu1992@gmail.com>2023-01-06 03:29:50 +0800
committerGitHub <noreply@github.com>2023-01-05 14:29:50 -0500
commit896dd56b7af06fea6604a5596a6ffd17e7e52e6e (patch)
tree92d3c94afe4923f1d1faccc8034a03f78b807ade /cli/node/mod.rs
parent4e6b78cb43ece70df28281c8033b51366b110acf (diff)
refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274)
Diffstat (limited to 'cli/node/mod.rs')
-rw-r--r--cli/node/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/node/mod.rs b/cli/node/mod.rs
index 5c083e2fd..e6cc22255 100644
--- a/cli/node/mod.rs
+++ b/cli/node/mod.rs
@@ -5,8 +5,6 @@ use std::collections::VecDeque;
use std::path::Path;
use std::path::PathBuf;
-use crate::cache::NodeAnalysisCache;
-use crate::deno_std::CURRENT_STD_URL;
use deno_ast::CjsAnalysis;
use deno_ast::MediaType;
use deno_ast::ModuleSpecifier;
@@ -36,6 +34,8 @@ use deno_runtime::deno_node::NODE_GLOBAL_THIS_NAME;
use once_cell::sync::Lazy;
use regex::Regex;
+use crate::cache::NodeAnalysisCache;
+use crate::deno_std::CURRENT_STD_URL;
use crate::file_fetcher::FileFetcher;
use crate::npm::NpmPackageReference;
use crate::npm::NpmPackageReq;