Skip to content

Commit

Permalink
fix(core): ensure stage comments are in string format (#5003)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry committed Mar 15, 2018
1 parent 164d32e commit e010be0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export class StageSummaryController implements IController {
}

public getComments(): string {
const parsed = this.parser.parse(this.stageSummary.comments);
// cast comments field to string in case it is set to a number via SpEL
const parsed = this.parser.parse(this.stageSummary.comments + '');
return this.renderer.render(parsed);
}

Expand Down

0 comments on commit e010be0

Please sign in to comment.