fix(plugins/adr): use javascript regex compliant
Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
This commit is contained in:
committed by
Andy Ladjadj
parent
b012dcefba
commit
059e14136c
@@ -77,7 +77,7 @@ export type AdrFilePathFilterFn = (path: string) => boolean;
|
||||
* @public
|
||||
*/
|
||||
export const madrFilePathFilter: AdrFilePathFilterFn = (path: string) =>
|
||||
/^(?>.+\/)?\d{4}-.+\.md$/.test(path);
|
||||
/^(?:.+\/)?\d{4}-.+\.md$/.test(path);
|
||||
|
||||
/**
|
||||
* ADR indexable document interface
|
||||
|
||||
Reference in New Issue
Block a user