Skip to content

Commit

Permalink
debug: fix short-form custom command name on --invoke isn't used
Browse files Browse the repository at this point in the history
Signed-off-by: Kohei Tokunaga <[email protected]>
  • Loading branch information
ktock committed Aug 30, 2023
1 parent da66629 commit 7843b5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,7 @@ func parseInvokeConfig(invoke string) (cfg invokeConfig, err error) {
}
if len(fields) == 1 && !strings.Contains(fields[0], "=") {
cfg.Cmd = []string{fields[0]}
cfg.NoCmd = false
return cfg, nil
}
cfg.NoUser = true
Expand Down

0 comments on commit 7843b5f

Please sign in to comment.