Skip to content

Commit

Permalink
Drop go-homedir
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmalkmus committed Aug 25, 2021
1 parent 6a0f758 commit eb0ccd5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ require (
github.com/mattn/go-colorable v0.1.8
github.com/mattn/go-isatty v0.0.13
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
github.com/mitchellh/go-homedir v1.1.0
github.com/muesli/reflow v0.3.0
github.com/muesli/termenv v0.9.0
github.com/nwidger/jsoncolor v0.3.0
Expand Down
3 changes: 1 addition & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ import (
"strings"

"github.com/kelseyhightower/envconfig"
"github.com/mitchellh/go-homedir"
"github.com/pelletier/go-toml"
)

func defaultConfigFile() string {
dir, _ := homedir.Dir()
dir, _ := os.UserHomeDir()
return path.Join(dir, ".axiom.toml")
}

Expand Down

0 comments on commit eb0ccd5

Please sign in to comment.