mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 17:08:14 +00:00
Merge branch hotfix/code-generator-sub-folder-not-created into release/1.0.0
Title: fix: 🐛 解决出码的 disk publisher 不能正确地创建子目录的问题 解决出码的 disk publisher 不能正确地创建子目录的问题 Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4075073
This commit is contained in:
commit
d719c43e60
@ -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