Skip to content

Commit

Permalink
Add log line instead of err
Browse files Browse the repository at this point in the history
  • Loading branch information
cyx committed Sep 1, 2020
1 parent ad11429 commit ad5d23b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/config/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package config
import (
"errors"
"fmt"
"log"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -152,7 +153,7 @@ func (p *Profile) writeProfile(runtimeViper *viper.Viper) error {
}

if err := runtimeViper.MergeInConfig(); err != nil {
return err
log.Println(err)
}

runtimeViper.SetConfigFile(profilesFile)
Expand Down

0 comments on commit ad5d23b

Please sign in to comment.