MCPcopy Create free account
hub / github.com/commander-cli/commander / convertConfig

Function convertConfig

pkg/app/add_command.go:68–73  ·  view source on GitHub ↗
(config suite.YAMLTestConfigConf)

Source from the content-addressed store, hash-verified

66}
67
68func convertConfig(config suite.YAMLTestConfigConf) suite.YAMLTestConfigConf {
69 if config.Dir == "" && len(config.Env) == 0 && config.Timeout == "" {
70 return suite.YAMLTestConfigConf{}
71 }
72 return config
73}

Callers 1

AddCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected