fix: 修复流水线页面状态没有刷新的bug

This commit is contained in:
xiaojunnuo
2025-07-15 15:05:09 +08:00
parent 95332d5db9
commit 93e9498b41
5 changed files with 367 additions and 5 deletions
@@ -16,6 +16,10 @@ export default class SshOssClientImpl extends BaseOssClient<SshAccess> {
throw new Error("Method not implemented.");
}
async upload(filePath: string, fileContent: Buffer) {
if (!filePath) {
filePath = "";
}
filePath = filePath.trim();
const tmpFilePath = path.join(os.tmpdir(), "cert", "http", filePath);
// Write file to temp path