Remove 11-character requirement on folder names. Fixes #1.

This commit is contained in:
Oliver Evans 2021-11-05 00:37:25 -07:00
parent ee3029486f
commit bf2b3539ac
No known key found for this signature in database
GPG Key ID: A1BA3D39691538A2
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ const parseHooks = (root, hooks) =>
hooks
.map(x => ({
path: path.join(root, x),
match: x.match(/(?<folder>.{11})-(?<time>.*)/),
match: x.match(/(?<folder>.*)-(?<time>.*)/),
}))
.filter(x => x.match)
.map(x => ({