fix(plugins/adr): replace url record by the path

Signed-off-by: Andy Ladjadj <andy.ladjadj@gmail.com>
This commit is contained in:
Andy Ladjadj
2023-03-15 09:46:09 +01:00
committed by Andy Ladjadj
parent f66fb122ff
commit 668b5733b1
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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