We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f513f commit 060b3e9Copy full SHA for 060b3e9
pkg/commands/config.go
@@ -62,7 +62,7 @@ func newConfigCommand(log logutils.Log, info BuildInfo) *configCommand {
62
Short: "Print used config path",
63
Args: cobra.NoArgs,
64
ValidArgsFunction: cobra.NoFileCompletions,
65
- Run: c.execute,
+ Run: c.executePath,
66
},
67
verifyCommand,
68
)
@@ -103,7 +103,7 @@ func (c *configCommand) preRunE(cmd *cobra.Command, _ []string) error {
103
return nil
104
}
105
106
-func (c *configCommand) execute(cmd *cobra.Command, _ []string) {
+func (c *configCommand) executePath(cmd *cobra.Command, _ []string) {
107
usedConfigFile := c.getUsedConfig()
108
if usedConfigFile == "" {
109
c.log.Warnf("No config file detected")
0 commit comments