Merge pull request #5 from OliverEvans96/hand-entered-folder-ids

Remove 11-character requirement on folder names. Fixes #1.
This commit is contained in:
Lynn Smeria 2022-11-24 14:35:53 +01:00 committed by GitHub
commit deb8b8dc69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 => ({