Explorar el Código

Drop 'Domain' suffix when extracting files

Tor Arne Vestbø hace 5 años
padre
commit
80132b32ca
Se han modificado 1 ficheros con 2 adiciones y 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)