Skip to content

feat: cli configs should not be space sensitive #1668

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

Merged
merged 1 commit into from
May 23, 2022

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented May 23, 2022

If you edit the file and add a newline, it breaks. It should not matter. I manually edited the file and kept getting this error because my vim added a newline.

parse "https://dev.coder.com\n": net/url: invalid control character in URL

To reproduce

echo "https://dev.coder.com" > ~/.config/coderv2/url
./coder users list

If you edit the file and add a newline, it breaks. It should not matter
@Emyrk Emyrk merged commit 873ae90 into main May 23, 2022
@Emyrk Emyrk deleted the stevenmasley/newline_insensitive branch May 23, 2022 17:19
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