mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 17:08:14 +00:00
fix: 🐛 解决出码的 disk publisher 不能正确地创建子目录的问题
This commit is contained in:
parent
eafaedb4dc
commit
fb5ba936a9
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user