Skip to content

Commit e3efc34

Browse files
authored
Merge pull request #31 from tejassharma96/main
Fix typo in error message when no template is specified
2 parents f94b9da + 4e843cb commit e3efc34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/prepare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func executePrepare(ctx context.Context, env gitlab.Environment) error {
3939
templateId := env.TemplateId
4040
if templateId == "" {
4141
if env.TemplateName == "" {
42-
return fmt.Errorf("%w: either template id or temaplte name must be specified", gitlab.ErrMissingVar)
42+
return fmt.Errorf("%w: either template id or template name must be specified", gitlab.ErrMissingVar)
4343
}
4444
log.Warnln("please consider using template id instead of template name as template names are not guaranteed to be unique")
4545
templateId, err = controller.GetTemplateIdByName(ctx, env.TemplateName)

0 commit comments

Comments
 (0)