We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8015d80 commit 17ed9bbCopy full SHA for 17ed9bb
1 file changed
lib/server-code/runners/cloud.js
@@ -11,7 +11,7 @@ function flushPendingLogs() {
11
}
12
13
function finalize() {
14
- flushPendingLogs();
+ return flushPendingLogs();
15
16
17
exports.start = function(opts) {
@@ -34,5 +34,7 @@ exports.start = function(opts) {
34
});
35
36
37
- return getTask().then(processTask).then(finalize);
+ return getTask()
38
+ .then(processTask)
39
+ .then(finalize);
40
};
0 commit comments