Skip to content

Commit

Permalink
refactor: resolve dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed May 16, 2024
1 parent 922c6ee commit 484a804
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg-manager/resolve-dependencies/src/updateLockfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ function toLockfileDependency (
}
): PackageSnapshot {
const lockfileResolution = toLockfileResolution(
{ id: pkg.id, name: pkg.name, version: pkg.version },
opts.depPath,
{ name: pkg.name, version: pkg.version },
pkg.resolution,
opts.registry,
opts.lockfileIncludeTarballUrl
Expand Down Expand Up @@ -175,11 +174,9 @@ function updateResolvedDeps (

function toLockfileResolution (
pkg: {
id: string
name: string
version: string
},
depPath: string,
resolution: Resolution,
registry: string,
lockfileIncludeTarballUrl?: boolean
Expand Down

0 comments on commit 484a804

Please sign in to comment.