From 9becba6af92c8bf6e8a66f29cdc96340d09ad2a6 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sun, 1 Dec 2024 13:07:47 -0500 Subject: [PATCH] simplify name --- src/resolution/snapshot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolution/snapshot.rs b/src/resolution/snapshot.rs index 5eab4de..a0e132d 100644 --- a/src/resolution/snapshot.rs +++ b/src/resolution/snapshot.rs @@ -278,7 +278,7 @@ impl NpmResolutionSnapshot { } /// Resolves the provided package requirements adding them to the snapshot. - pub async fn add_pkg_reqs_to_snapshot( + pub async fn add_pkg_reqs( self, api: &impl NpmRegistryApi, options: AddPkgReqsOptions<'_>,