summaryrefslogtreecommitdiff
path: root/cli/proc_state.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/proc_state.rs
parent4e6b78cb43ece70df28281c8033b51366b110acf (diff)
refactor(cli,core,ext,rt): remove some unnecessary `clone` or `malloc` (#17274)
Diffstat (limited to 'cli/proc_state.rs')
-rw-r--r--cli/proc_state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/proc_state.rs b/cli/proc_state.rs
index 2fe1f44f2..eb672d8d0 100644
--- a/cli/proc_state.rs
+++ b/cli/proc_state.rs
@@ -448,7 +448,7 @@ impl ProcState {
&roots,
graph_data,
&check_cache,
- self.npm_resolver.clone(),
+ &self.npm_resolver,
options,
)?;
if !check_result.diagnostics.is_empty() {