Skip to content

Commit

Permalink
chore: (DSO-00) Remove ``` form text
Browse files Browse the repository at this point in the history
  • Loading branch information
javiercm1410 committed Jun 20, 2024
1 parent ad0edde commit 6ac620c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func CreateComment(pull int, org, repo, content, filePath string) {

commentBody := content
if filePath != "" {
commentBody = "```\n" + files.ParseFileContent(filePath) + "\n```"
commentBody = files.ParseFileContent(filePath)
}

comment := &github.IssueComment{
Expand All @@ -71,9 +71,9 @@ func UpdateComment(commentID int64, org, repo, content, filePath string) {
var client GithubClient
DeclareClient(&client)

commentBody := "```\n" + content + "```"
commentBody := content
if filePath != "" {
commentBody = "```\n" + files.ParseFileContent(filePath) + "```"
commentBody = files.ParseFileContent(filePath)
}

comment := &github.IssueComment{
Expand Down

0 comments on commit 6ac620c

Please sign in to comment.