Skip to content

Commit

Permalink
fix(config): use the config path to edit (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
nobe4 authored Jul 23, 2024
1 parent 428cef7 commit 7b641a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func editConfig() error {
return fmt.Errorf("EDITOR environment variable not set")
}

cmd := exec.Command(editor, configPathFlag)
cmd := exec.Command(editor, config.Path)

cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
Expand Down

0 comments on commit 7b641a6

Please sign in to comment.