Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
fix #13
Browse files Browse the repository at this point in the history
  • Loading branch information
azrod committed Jan 9, 2022
1 parent 7b1a267 commit ba867a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func LoadConfig() (config CFG, err error) {
fp := config.getConfigFileStruct()

// open yaml file
f, err := os.Open(fp)
f, err := os.Open(filepath.Clean(fp))
if err != nil {
log.Error().Err(err).Str("path", fp).Msg("Failed to open config file")
} else {
Expand Down

0 comments on commit ba867a6

Please sign in to comment.