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) {
|
} catch (e) {
|
||||||
if (tx) await tx.rollback();
|
if (tx) await tx.rollback();
|
||||||
if (await fs.pathExists(ws.path))
|
if (await fs.pathExists(ws?.path))
|
||||||
await fs.remove(ws.path);
|
await fs.remove(ws?.path);
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue