File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,13 @@ struct CommentUseCase {
7777
7878 // Try to find an existing comment with the hidden anchor content.
7979 if let comment = comments. first ( where: { $0. body? . contains ( hidingContent) == true } ) {
80- // Update the existing comment with the new body content.
80+ print ( " Update the existing comment with the new body content. " )
8181 _ = try await client. issues_sol_update_hyphen_comment (
8282 path: . init( owner: owner, repo: repo, comment_id: Components . Parameters. comment_hyphen_id ( comment. id) ) ,
8383 body: . json( . init( body: newBody) )
8484 )
8585 } else {
86- // Create a new comment if no existing comment with the anchor is found.
86+ print ( " Create a new comment if no existing comment with the anchor is found. " )
8787 _ = try await client. issues_sol_create_hyphen_comment (
8888 path: . init( owner: owner, repo: repo, issue_number: number) ,
8989 body: . json( . init( body: newBody) )
You can’t perform that action at this time.
0 commit comments