Skip to content

Commit

Permalink
fix: Add registryTemplateUrl field to allowed fields for regexManager (
Browse files Browse the repository at this point in the history
  • Loading branch information
Niksko committed Mar 22, 2021
1 parent ed683a7 commit e7f90d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/config/validation.spec.ts
Expand Up @@ -291,6 +291,7 @@ describe('config/validation', () => {
matchStrings: ['ENV (?<currentValue>.*?)\\s'],
depNameTemplate: 'foo',
datasourceTemplate: 'bar',
registryUrlTemplate: 'foobar',
},
],
};
Expand Down
1 change: 1 addition & 0 deletions lib/config/validation.ts
Expand Up @@ -277,6 +277,7 @@ export async function validateConfig(
'lookupNameTemplate',
'datasourceTemplate',
'versioningTemplate',
'registryUrlTemplate',
];
// TODO: fix types
for (const regexManager of val as any[]) {
Expand Down

0 comments on commit e7f90d5

Please sign in to comment.