Closed sarayourfriend closed 1 year ago
@kyledrake Any chance this PR could get a review?
@kyledrake Sorry for the multiple pings, just trying to get this off my list of open PRs. Let me know if this needs anything to get merged or if this project isn't accepting contributions and I'll either update the PR or close it.
Thanks!
Fixes #21 by trimming whitespace from the API key.
Testing instructions for Linux
To reproduce the bug:
neocities push
and confirming it can check that files exist/push new files.\r
to the end of~/.config/neocities/config
:neocities push
again, and you should encounter the error from the linked issue.To test that this PR works, keep the new
config
file with\r
at the end, checkout this branch, and run./bin/neocities push
and confirm that the CLI now works with the trailing whitespace.