X-Git-Url: https://git.ladys.computer/Beorn/blobdiff_plain/20045528c0524e92050f05f13294f35911433d43..9f2c90d3378fe8e25f2a8cc53b9640a3d30507e7:/build.js?ds=sidebyside diff --git a/build.js b/build.js index aaa13ed..9ae91c9 100755 --- a/build.js +++ b/build.js @@ -1018,7 +1018,7 @@ await (async () => { // this is the run script ) { // Iterate over each directory and process the ones which are // dates. - if (!isDirectory || !/[0-9]{4}-[0-9]{2}-[0-9]{2}/u.test(date)) { + if (!isDirectory || !/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/u.test(date)) { // This isn’t a dated directory. continue; } else {