Skip to content

Commit

Permalink
fix: ensure that pnpm-workspace.yaml duck-typing uses full schema
Browse files Browse the repository at this point in the history
  • Loading branch information
fpapado committed Jan 13, 2025
1 parent f4966f7 commit 778d99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/manager/npm/extract/pnpm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function getLockedDependencyVersions(

export function isPnpmWorkspaceYaml(content: string): boolean {
try {
parseSingleYaml(content, { customSchema: PnpmCatalogsSchema });
parseSingleYaml(content, { customSchema: PnpmWorkspaceFileSchema });

Check failure on line 234 in lib/modules/manager/npm/extract/pnpm.ts

View workflow job for this annotation

GitHub Actions / lint-other

Cannot find name 'PnpmWorkspaceFileSchema'.
return true;
} catch {
return false;
Expand Down

0 comments on commit 778d99c

Please sign in to comment.