fix: refs #8244 refs #7759 Requested changes
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
ea5b78394d
commit
76751ad584
|
@ -58,8 +58,8 @@ module.exports = Self => {
|
|||
}
|
||||
} catch (e) {
|
||||
if (tx) await tx.rollback();
|
||||
if (await fs.pathExists(ws.path))
|
||||
await fs.remove(ws.path);
|
||||
if (await fs.pathExists(ws?.path))
|
||||
await fs.remove(ws?.path);
|
||||
throw e;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue