Skip to content

Trim spaces from urls when running from file#352

Merged
jfontan merged 1 commit intosrc-d:masterfrom
juanjux:fix/urlspaces
Oct 9, 2018
Merged

Trim spaces from urls when running from file#352
jfontan merged 1 commit intosrc-d:masterfrom
juanjux:fix/urlspaces

Conversation

@juanjux
Copy link
Contributor

@juanjux juanjux commented Oct 8, 2018

Ensure that white spaces is trimmed from the URLs read from a file. Please note that in my tests there is an issue where urls read from a text file have an space added to the start (this space is NOT in the text file) so there is another issue that you can add from the friction log or I could add it separately.

Update: there is no issue, the file really had spaces at the front of each URL but Vim wasn't jumping to it when going to the next line because of my settings, I'm an idiot, still this PR has merit to make the parsing of URLs more robust.

Signed-off-by: Juanjo Alvarez juanjo@sourced.tech

Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
@jfontan jfontan requested a review from a team October 9, 2018 12:43
@jfontan jfontan merged commit c781707 into src-d:master Oct 9, 2018
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.

5 participants