mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-10 05:27:07 +08:00
debug: fix short-form custom command name on --invoke
isn't used
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
This commit is contained in:
@ -719,6 +719,7 @@ func parseInvokeConfig(invoke string) (cfg invokeConfig, err error) {
|
|||||||
}
|
}
|
||||||
if len(fields) == 1 && !strings.Contains(fields[0], "=") {
|
if len(fields) == 1 && !strings.Contains(fields[0], "=") {
|
||||||
cfg.Cmd = []string{fields[0]}
|
cfg.Cmd = []string{fields[0]}
|
||||||
|
cfg.NoCmd = false
|
||||||
return cfg, nil
|
return cfg, nil
|
||||||
}
|
}
|
||||||
cfg.NoUser = true
|
cfg.NoUser = true
|
||||||
|
Reference in New Issue
Block a user