Skip to content

Commit

Permalink
Merge branch 'master' into docs-review-20231117
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Nov 25, 2023
2 parents 45bcdfd + 4b137aa commit 0ee6871
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/prpipeline/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (pipeline *Pipeline) Run() (*dispatcher.PipelineSuccess, error) {
Message: aurora.Sprintf(aurora.Green("Success! Found the following JIRA issue references: %v"), references),
}, nil
}
case ConvetionalStyle:
case ConventionalStyle:
commit := quoad.ParseCommitMessage(*title)

err := text.CheckMessageTitle(commit, true)
Expand Down
2 changes: 1 addition & 1 deletion internal/prpipeline/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ type PRStyle = string

const (
JiraStyle PRStyle = "jira"
ConvetionalStyle PRStyle = "conventional"
ConventionalStyle PRStyle = "conventional"
)
2 changes: 1 addition & 1 deletion internal/root_runner/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (runner *Runner) Run(options RunnerOptions, args ...string) error {
}

if viper.IsSet("pull_request.conventional") {
prOptions.Style = prpipeline.ConvetionalStyle
prOptions.Style = prpipeline.ConventionalStyle
}

prPipe, err := prpipeline.New(prOptions)
Expand Down

0 comments on commit 0ee6871

Please sign in to comment.