Skip to content
Snippets Groups Projects
Unverified Commit c8ca4267 authored by IKEDA Sho's avatar IKEDA Sho Committed by GitHub
Browse files

fix(manager): correctly escape the dot character in fileMatch (#17048)

parent 6f324e41
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ import { DockerDatasource } from '../../datasource/docker';
export { extractPackageFile } from './extract';
export const defaultConfig = {
fileMatch: ['(^|/).vela.ya?ml$'],
fileMatch: ['(^|/)\\.vela\\.ya?ml$'],
};
export const supportedDatasources = [DockerDatasource.id];
......@@ -53,7 +53,7 @@ describe('workers/repository/extract/file-match', () => {
includePaths: [],
ignorePaths: [],
manager: 'npm',
fileMatch: ['(^|/)package.json$'],
fileMatch: ['(^|/)package\\.json$'],
};
it('returns npm files', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment