print warning message instead of debug message when ~/.config exists but is not accessible

Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
pull/9240/head
wawa0210 4 years ago
parent ab12382ddc
commit 5cd2a93725
No known key found for this signature in database
GPG Key ID: 900C83A2C098B3B1

@ -62,7 +62,7 @@ func main() {
actionConfig := new(action.Configuration)
cmd, err := newRootCmd(actionConfig, os.Stdout, os.Args[1:])
if err != nil {
debug("%+v", err)
warning("%+v", err)
os.Exit(1)
}

Loading…
Cancel
Save