Skip to content

Commit 1c5d2cc

Browse files
committed
fix: another yarn 2+ fix
1 parent c6e8e22 commit 1c5d2cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/package-installation-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class PackageInstallationManager implements IPackageInstallationManager {
7070
versions: true,
7171
});
7272

73-
return semver.maxSatisfying(data, versionRange);
73+
return semver.maxSatisfying(data.versions || data, versionRange);
7474
}
7575

7676
public async getMaxSatisfyingVersionSafe(

0 commit comments

Comments
 (0)