Explorar o código

Drop 'Domain' suffix when extracting files

Tor Arne Vestbø %!s(int64=5) %!d(string=hai) anos
pai
achega
80132b32ca
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tools/reports/backup/files.js

+ 2 - 0
tools/reports/backup/files.js

@@ -123,6 +123,8 @@ function extractFiles (backup, destination, filter, items) {
         domainPath = domainPath.replace('-', path.sep)
       }
 
+      domainPath = domainPath.replace('Domain', '')
+
       var filePath = path.join(domainPath, item.filename)
       var stat = new Mode(item)