소스 검색

Drop 'Domain' suffix when extracting files

Tor Arne Vestbø 5 년 전
부모
커밋
80132b32ca
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)