Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 229f88f

Browse files
committed
Sneak in a one-line fix for empty comments
1 parent 162a30a commit 229f88f

File tree

1 file changed

+1
-1
lines changed
  • src/ApiService/ApiService/onefuzzlib/notifications

1 file changed

+1
-1
lines changed

src/ApiService/ApiService/onefuzzlib/notifications/Ado.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ public async Async.Task<bool> UpdateExisting(WorkItem item, IList<(string, strin
414414
return false;
415415
}
416416

417-
if (_config.OnDuplicate.Comment != null) {
417+
if (!string.IsNullOrEmpty(_config.OnDuplicate.Comment)) {
418418
var comment = _config.OnDuplicate.Comment;
419419
_ = await _client.AddCommentAsync(
420420
new CommentCreate() {

0 commit comments

Comments
 (0)