Skip to content

Commit 962e12b

Browse files
author
Bradley Weston
authored
s/TrimLeft/TrimSpace/
1 parent 157870a commit 962e12b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func getAuth(token string, tokenFile string) (string, error) {
109109
if err != nil {
110110
return "", err
111111
}
112-
return strings.TrimLeft(string(b)), err
112+
return strings.TrimSpace(string(b)), err
113113

114114
}
115115

0 commit comments

Comments
 (0)