mirror of
https://github.com/cooperspencer/gickup
synced 2024-09-18 23:01:35 +02:00
#94 remove new lines in token files.
This commit is contained in:
parent
bee477bf65
commit
9e4e9e1d6a
@ -199,7 +199,7 @@ func resolveToken(tokenString string, tokenFile string) (string, error) {
|
||||
Str("path", tokenFile).
|
||||
Msg("Read token file")
|
||||
|
||||
tokenData := string(data)
|
||||
tokenData := strings.ReplaceAll(string(data), "\n", "")
|
||||
return tokenData, nil
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user