Skip to content

Commit

Permalink
Added missing commentTruncated property to commit object (#652)
Browse files Browse the repository at this point in the history
This will allow later code to properly detect and expand the truncated commit messages.
  • Loading branch information
KennethScott authored Mar 21, 2020
1 parent 1dab4cf commit 0310662
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export async function getCommitsAndWorkItemsForGitRepo(vsts: WebApi, baseSourceV
commits.push(<Change>{
id: c.commitId,
message: c.comment,
messageTruncated: c.commentTruncated,
type: "TfsGit",
author: {
displayName: c.author.name,
Expand All @@ -51,4 +52,4 @@ export async function getCommitsAndWorkItemsForGitRepo(vsts: WebApi, baseSourceV
export interface CommitInfo {
commits: Change[];
workItems: ResourceRef[];
}
}

0 comments on commit 0310662

Please sign in to comment.