Skip to content

Commit 51264f3

Browse files
pieternclaude
andcommitted
Fix typo: getCommmand -> getCommand
Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent bae7dc8 commit 51264f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundle/scripts/scripts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func (m *script) Name() string {
3232
}
3333

3434
func (m *script) Apply(ctx context.Context, b *bundle.Bundle) diag.Diagnostics {
35-
command := getCommmand(b, m.scriptHook)
35+
command := getCommand(b, m.scriptHook)
3636
if command == "" {
3737
log.Debugf(ctx, "No script defined for %s, skipping", m.scriptHook)
3838
return nil
@@ -79,7 +79,7 @@ func executeHook(ctx context.Context, executor *exec.Executor, command config.Co
7979
return cmd, io.MultiReader(cmd.Stdout(), cmd.Stderr()), nil
8080
}
8181

82-
func getCommmand(b *bundle.Bundle, hook config.ScriptHook) config.Command {
82+
func getCommand(b *bundle.Bundle, hook config.ScriptHook) config.Command {
8383
if b.Config.Experimental == nil || b.Config.Experimental.Scripts == nil {
8484
return ""
8585
}

0 commit comments

Comments
 (0)