Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Don't format input
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhjp committed Oct 28, 2020
1 parent 3f8bfad commit d7ec5f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@ module github.com/tomhjp/gh-action-jira-create

go 1.14

require (
github.com/kalafut/m2j v0.0.1
github.com/tomhjp/gh-action-jira v0.1.0
)
require github.com/tomhjp/gh-action-jira v0.1.0
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/kalafut/m2j v0.0.1 h1:07N2GRuQhm+tpUKRDiGYVGoEI0TgmlYsOyLjgUQGnis=
github.com/kalafut/m2j v0.0.1/go.mod h1:1tGqsPGFpUsjWhUlxSWTVClcP0spd4hQpA/lRPiAHIc=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"net/url"
"os"

"github.com/kalafut/m2j"
"github.com/tomhjp/gh-action-jira/config"
"github.com/tomhjp/gh-action-jira/jira"
)
Expand Down Expand Up @@ -47,7 +46,7 @@ func addComment(config config.JiraConfig, issue, comment string) error {
payload := struct {
Body string `json:"body"`
}{
Body: m2j.MDToJira(comment),
Body: comment,
}
reqBody, err := json.Marshal(payload)
if err != nil {
Expand Down

0 comments on commit d7ec5f0

Please # to comment.