Skip to content

Commit

Permalink
refactor: fix matchManagers type (#24087)
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulGautamSingh authored Aug 26, 2023
1 parent b8823e3 commit 5dbc928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export interface PackageRule
isVulnerabilityAlert?: boolean;
matchFileNames?: string[];
matchBaseBranches?: string[];
matchManagers?: string | string[];
matchManagers?: string[];
matchDatasources?: string[];
matchDepTypes?: string[];
matchDepNames?: string[];
Expand Down
2 changes: 1 addition & 1 deletion lib/config/validation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ describe('config/validation', () => {
],
};
const { warnings, errors } = await configValidation.validateConfig(
config
config as any
);
expect(warnings).toHaveLength(0);
expect(errors).toHaveLength(2);
Expand Down

0 comments on commit 5dbc928

Please sign in to comment.