Fix typo in regex when listing channels

This commit is contained in:
yflory 2023-07-20 16:28:31 +02:00
parent a0d627f652
commit cf17b6924a
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ var listChannels = function (root, handler, cb, fast) {
var metadataName;
// if the current file is not the channel data, then it must be metadata
if (!/^[0-9a-fA-F]{32, 33}\.ndjson$/.test(item)) {
if (!/^[0-9a-fA-F]{32,33}\.ndjson$/.test(item)) {
metadataName = item;
channelName = item.replace(/\.metadata/, '');