Skip to content

Commit

Permalink
Merge pull request #89 from inohmonton99/fix/filepath.join
Browse files Browse the repository at this point in the history
fix: clean up path of cli_config file in init command
  • Loading branch information
Vafilor authored Dec 23, 2020
2 parents cbee76f + 9ce5d58 commit a7b7f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var initCmd = &cobra.Command{
}

log.Printf("Initializing...")
configFile := filepath.Join(".onepanel/cli_config.yaml")
configFile := filepath.Join(".onepanel", "cli_config.yaml")
exists, err := files.Exists(configFile)
if err != nil {
log.Printf("[error] checking for config file %v", configFile)
Expand Down

0 comments on commit a7b7f1e

Please sign in to comment.