Skip to content

Commit

Permalink
Fix unparsed config on init
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneko committed Jan 11, 2023
1 parent 9a0276a commit 7c7ed75
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ var (
Remainder string
)

func init() {
err := ParseConfig("..")
if err != nil {
fmt.Println(err)
}
}

func ParseConfig(pathstr string) error {
var cfg Config

Expand Down

0 comments on commit 7c7ed75

Please sign in to comment.