Skip to content

Commit 0f67474

Browse files
committed
sendJob is expected to return a true value
Otherwise, we are logging a message saying that branch was not found or active. (Even if the job was created successfully.) This is the same as the issue in the gitlab provider: Strider-CD/strider-gitlab#30
1 parent b20a12a commit 0f67474

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/webhooks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ function receiveWebhook(emitter, req, res) {
257257

258258
function sendJob(job) {
259259
emitter.emit('job.prepare', job);
260+
return true;
260261
}
261262
}
262263

0 commit comments

Comments
 (0)