summaryrefslogtreecommitdiff
path: root/cli/graph_util.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/graph_util.rs
parent4e6b78cb43ece70df28281c8033b51366b110acf (diff)
refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274)
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r--cli/graph_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs
index 62db0a82c..d815e3311 100644
--- a/cli/graph_util.rs
+++ b/cli/graph_util.rs
@@ -571,7 +571,7 @@ pub async fn create_graph_and_maybe_check(
&graph.roots,
Arc::new(RwLock::new(graph_data)),
&cache,
- ps.npm_resolver.clone(),
+ &ps.npm_resolver,
check::CheckOptions {
type_check_mode: ps.options.type_check_mode(),
debug: ps.options.log_level() == Some(log::Level::Debug),