|
@@ -333,11 +333,11 @@ export async function postWebUpdate(axiosInstance, param) {
|
|
|
const subPath = subPrefix + '/' + file;
|
|
|
if (checkPathSkip(subPath))
|
|
|
continue;
|
|
|
- const filestat = await stat(path + subPath);
|
|
|
+ const filestat = await stat(distDir + subPath);
|
|
|
if (filestat.isDirectory()) {
|
|
|
- await loopDir(path + subPath, subPath);
|
|
|
+ await loopDir(distDir + subPath, subPath);
|
|
|
} else {
|
|
|
- archive.file(path + subPath, { name: file });
|
|
|
+ archive.file(distDir + subPath, { name: file });
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -404,6 +404,7 @@ export async function postWebUpdate(axiosInstance, param) {
|
|
|
bar1.update(Math.floor(i / multuploadInfo.allChunks * 100));
|
|
|
}
|
|
|
|
|
|
+ bar1.update(100);
|
|
|
bar1.stop();
|
|
|
|
|
|
submitConfig.multuploadedKey = multuploadInfo.key;
|