diff --git a/internal/prpipeline/run.go b/internal/prpipeline/run.go index cf2df67c..746908dd 100644 --- a/internal/prpipeline/run.go +++ b/internal/prpipeline/run.go @@ -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) diff --git a/internal/prpipeline/types.go b/internal/prpipeline/types.go index 84fe6d78..9b1d54b7 100644 --- a/internal/prpipeline/types.go +++ b/internal/prpipeline/types.go @@ -4,5 +4,5 @@ type PRStyle = string const ( JiraStyle PRStyle = "jira" - ConvetionalStyle PRStyle = "conventional" + ConventionalStyle PRStyle = "conventional" ) diff --git a/internal/root_runner/run.go b/internal/root_runner/run.go index 794293b9..019d29dc 100644 --- a/internal/root_runner/run.go +++ b/internal/root_runner/run.go @@ -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)