Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up whitespace surrounding the token in case it was manually set #59

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

kylekthompson
Copy link
Member

@kylekthompson kylekthompson commented Feb 27, 2024

Editors often pad files with a trailing newline. When setting ~/.mint/accesstoken manually, this was causing errors when usinng the token in http requests (a newline is not valid in the header)

@kylekthompson kylekthompson self-assigned this Feb 27, 2024
@kylekthompson kylekthompson merged commit b2ac859 into main Feb 27, 2024
2 checks passed
@kylekthompson kylekthompson deleted the kt/handle-newlines-in-accesstoken branch February 27, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants