Skip to content

Commit

Permalink
fix(core/delivery): Fix scoping for callback in waitUntilNewTriggered…
Browse files Browse the repository at this point in the history
…PipelineAppears
  • Loading branch information
jrsquared committed Apr 17, 2017
1 parent 62901fb commit b14c5ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class ExecutionService {
application.executions.refresh().then(deferred.resolve);
return deferred.promise;
} else {
return this.$timeout(function() {
return this.$timeout(() => {
return this.waitUntilNewTriggeredPipelineAppears(application, pipelineName, triggeredPipelineId);
}, 1000);
}
Expand Down

0 comments on commit b14c5ef

Please sign in to comment.