Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
NotificationEvent: Fix missing review comment
Browse files Browse the repository at this point in the history
Problem: Review comment for new or deleted file has been missed.

Solution: Just leave the comment without code if it is for a new or
deleted file.
  • Loading branch information
Yi EungJun committed Jan 14, 2015
1 parent 5a4a6a8 commit b705300
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/NotificationEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ private static String buildCommentedCodeMessage(ReviewComment reviewComment, Lan
}
}
message.append("```\n");
} else {
message.append(reviewComment.getContents());
}

return message.toString();
Expand Down

0 comments on commit b705300

Please sign in to comment.