Work on new archivers layout, short/long desc file discovery

This commit is contained in:
Bryan Ashby 2016-10-03 22:03:32 -06:00
parent 9593da5626
commit 61b0658743
3 changed files with 71 additions and 9 deletions

View file

@ -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],