Skip to content

Commit

Permalink
fix(core): Fix undefined for getting length of commits (#4172)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Reynolds authored Sep 28, 2017
1 parent ed4ee5d commit e5a075c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class ViewChangesLinkController implements IController {
this.executionService.getExecution(executionId).then((details: any) => {
const stage: any = details.stages.find((s: any) => s.id === stageId);
this.jarDiffs = stage.context.jarDiffs;
this.commits = stage.context.commits;
this.commits = stage.context.commits || [];
extend(this.changeConfig.buildInfo, stage.context.buildInfo);
this.setJarDiffs();

Expand Down

0 comments on commit e5a075c

Please sign in to comment.