Merge pull request #5 from OliverEvans96/hand-entered-folder-ids
Remove 11-character requirement on folder names. Fixes #1.
This commit is contained in:
commit
deb8b8dc69
1 changed files with 1 additions and 1 deletions
2
hooks.js
2
hooks.js
|
|
@ -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 => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue