Skip to content

Commit 0320a7f

Browse files
committed
fix: fixes spelling errors
1 parent 88e739b commit 0320a7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/plugin/activities.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
// genActivitiesInterface generates an <Service>Activities interface
1313
func (svc *Service) genActivitiesInterface(f *g.File) {
14-
f.Commentf("%sActivities describes available worker activites", svc.Service.GoName)
14+
f.Commentf("%sActivities describes available worker activities", svc.Service.GoName)
1515
f.Type().Id(fmt.Sprintf("%sActivities", svc.Service.GoName)).InterfaceFunc(func(methods *g.Group) {
1616
for _, activity := range svc.activitiesOrdered {
1717
method := svc.methods[activity]

internal/plugin/cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ func (svc *Service) genCliNewCommand(f *g.File) {
251251
)
252252
}
253253

254-
// genCliNewCommands generates a new<Service>Commands contructor function
254+
// genCliNewCommands generates a new<Service>Commands constructor function
255255
func (svc *Service) genCliNewCommands(f *g.File) {
256256
functionName := toLowerCamel("new%sCommands", svc.Service.GoName)
257257
optionsName := toCamel("%sCliOptions", svc.Service.GoName)
@@ -1088,7 +1088,7 @@ func (svc *Service) genCliWorkflowWithSignalCommand(cmds *g.Group, workflow, sig
10881088
hasSignalInput := !isEmpty(handler.Input)
10891089

10901090
cmdName := strcase.ToKebab(strings.Join([]string{workflow, "with", signal}, "-"))
1091-
desc := fmt.Sprintf("sends a %s signal to a %s worklow, starting it if necessary", signal, workflow)
1091+
desc := fmt.Sprintf("sends a %s signal to a %s workflow, starting it if necessary", signal, workflow)
10921092

10931093
cmds.Comment(desc)
10941094
cmds.CustomFunc(multiLineValues, func(cmd *g.Group) {

0 commit comments

Comments
 (0)