Send response before ending task execution
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
011e372558
commit
6410a4db42
|
@ -16,7 +16,7 @@ module.exports = Self => {
|
|||
}
|
||||
});
|
||||
|
||||
Self.updateData = async() => {
|
||||
Self.updateData = async callback => {
|
||||
const models = Self.app.models;
|
||||
|
||||
// Get files checksum
|
||||
|
@ -35,6 +35,8 @@ module.exports = Self => {
|
|||
console.debug(`File already updated, skipping...`);
|
||||
}
|
||||
|
||||
callback(null, true);
|
||||
|
||||
if (updatableFiles.length === 0)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue