mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
Work on new archivers layout, short/long desc file discovery
This commit is contained in:
parent
9593da5626
commit
61b0658743
3 changed files with 71 additions and 9 deletions
|
@ -214,9 +214,9 @@ module.exports = class ArchiveUtil {
|
|||
// }
|
||||
|
||||
const entries = [];
|
||||
const entryMatchRe = new RegExp(archiver.list.entryMatch, 'g');
|
||||
const entryMatchRe = new RegExp(archiver.list.entryMatch, 'gm');
|
||||
let m;
|
||||
while(null !== (m = entryMatchRe.exec(output))) {
|
||||
while((m = entryMatchRe.exec(output))) {
|
||||
// :TODO: allow alternate ordering!!!
|
||||
entries.push({
|
||||
size : m[1],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue