Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
fireairforce committed Oct 22, 2023
1 parent a604bbe commit 799e3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reviewing/outdated/src/outdated.ts
Expand Up @@ -59,7 +59,7 @@ export async function outdated (
const currentLockfile = opts.currentLockfile ?? { importers: { [importerId]: {} } }

const outdated: OutdatedPackage[] = []
if (opts.manifest?.packageManager?.startsWith('pnpm@')) {
if (typeof opts.manifest?.packageManager === 'string') {
const [pkgManager, pkgManagerVersion] = opts.manifest.packageManager.split('@')
const latestPkgManifest = await opts.getLatestManifest(pkgManager, 'latest')

Expand Down

0 comments on commit 799e3d5

Please sign in to comment.