fix: refs #8244 refs #7759 Requested changes
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Guillermo Bonet 2025-02-21 12:11:42 +01:00
parent ea5b78394d
commit 76751ad584
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }
}; };