tx commit
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
151e1b52ed
commit
b499de7c08
|
@ -91,6 +91,8 @@ module.exports = Self => {
|
|||
[file.checksum, file.name], options);
|
||||
}
|
||||
|
||||
await tx.commit();
|
||||
|
||||
// Clean files
|
||||
try {
|
||||
console.debug(`Cleaning files...`);
|
||||
|
@ -101,7 +103,6 @@ module.exports = Self => {
|
|||
}
|
||||
} catch (error) {
|
||||
await tx.rollback();
|
||||
console.log(error);
|
||||
throw error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue