Skip to content

Commit 29e5846

Browse files
committed
Fix govet shadow: reuse err variable in config check block
1 parent fe01118 commit 29e5846

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/commands/setup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func runSetup(cmd *cobra.Command, args []string) error {
7676
configLocation = "local config (" + localPath + ")"
7777
}
7878

79-
err := huh.NewConfirm().
79+
err = huh.NewConfirm().
8080
Title(fmt.Sprintf("Existing %s found. Reconfigure?", configLocation)).
8181
Value(&reconfigure).
8282
Run()

0 commit comments

Comments
 (0)