fix: 🐛 解决出码的 disk publisher 不能正确地创建子目录的问题

This commit is contained in:
牧毅 2020-11-12 09:58:12 +08:00
parent eafaedb4dc
commit fb5ba936a9

View File

@ -39,7 +39,7 @@ const writeFilesToFolder = async (folderPath: string, files: ResultFile[], fs: I
const writeSubFoldersToFolder = async (folderPath: string, subFolders: ResultDir[], fs: IFileSystem): Promise<void> => {
const promises = subFolders.map((subFolder) => {
return writeFolder(subFolder, folderPath, false, fs);
return writeFolder(subFolder, folderPath, true, fs);
});
await Promise.all(promises);