Skip to content

Commit

Permalink
fix(pipeline): Fix NPE in stage requisiteStageRefIds (#7417)
Browse files Browse the repository at this point in the history
  • Loading branch information
PerGon authored and maggieneterval committed Sep 25, 2019
1 parent 1083a70 commit bfa0d17
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export class PipelineConfigService {
stage !== stageToTest &&
stageToTest.requisiteStageRefIds &&
!downstreamIds.includes(stageToTest.refId) &&
stage.requisiteStageRefIds &&
!stage.requisiteStageRefIds.includes(stageToTest.refId)
);
});
Expand Down

0 comments on commit bfa0d17

Please sign in to comment.