Skip to content

Commit 060b3e9

Browse files
committed
chore: rename execute to executePath
1 parent 55f513f commit 060b3e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/commands/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func newConfigCommand(log logutils.Log, info BuildInfo) *configCommand {
6262
Short: "Print used config path",
6363
Args: cobra.NoArgs,
6464
ValidArgsFunction: cobra.NoFileCompletions,
65-
Run: c.execute,
65+
Run: c.executePath,
6666
},
6767
verifyCommand,
6868
)
@@ -103,7 +103,7 @@ func (c *configCommand) preRunE(cmd *cobra.Command, _ []string) error {
103103
return nil
104104
}
105105

106-
func (c *configCommand) execute(cmd *cobra.Command, _ []string) {
106+
func (c *configCommand) executePath(cmd *cobra.Command, _ []string) {
107107
usedConfigFile := c.getUsedConfig()
108108
if usedConfigFile == "" {
109109
c.log.Warnf("No config file detected")

0 commit comments

Comments
 (0)