diff --git a/lib/modules/manager/npm/extract/pnpm.ts b/lib/modules/manager/npm/extract/pnpm.ts index 0ca24f40f1ea4d2..c011484e4bc7e65 100644 --- a/lib/modules/manager/npm/extract/pnpm.ts +++ b/lib/modules/manager/npm/extract/pnpm.ts @@ -231,7 +231,7 @@ function getLockedDependencyVersions( export function isPnpmWorkspaceYaml(content: string): boolean { try { - parseSingleYaml(content, { customSchema: PnpmCatalogsSchema }); + parseSingleYaml(content, { customSchema: PnpmWorkspaceFileSchema }); return true; } catch { return false;