diff options
author | Geert-Jan Zwiers <geertjanzwiers@protonmail.com> | 2023-01-05 18:33:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 12:33:09 -0500 |
commit | 4e6b78cb43ece70df28281c8033b51366b110acf (patch) | |
tree | 45da219e7b8312b50d91fda35d0ca47ed54c0957 /cli/graph_util.rs | |
parent | fa271b70db0841d727c8311d974b8d6d1ed91219 (diff) |
refactor(cli): clean up clones (#17268)
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r-- | cli/graph_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs index ba90245f8..62db0a82c 100644 --- a/cli/graph_util.rs +++ b/cli/graph_util.rs @@ -597,7 +597,7 @@ pub fn error_for_any_npm_specifier( .specifiers() .filter_map(|(_, r)| match r { Ok((specifier, kind, _)) if kind == deno_graph::ModuleKind::External => { - Some(specifier.clone()) + Some(specifier) } _ => None, }) |