mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
refactor(npm): avoid cloning snapshot for lockfile (#17451)
This commit is contained in:
parent
f0c79a676c
commit
40527526e5
3 changed files with 5 additions and 13 deletions
|
@ -263,7 +263,7 @@ impl InnerNpmPackageResolver for LocalNpmPackageResolver {
|
|||
}
|
||||
|
||||
fn lock(&self, lockfile: &mut Lockfile) -> Result<(), AnyError> {
|
||||
self.resolution.lock(lockfile, &self.snapshot())
|
||||
self.resolution.lock(lockfile)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue