-
Notifications
You must be signed in to change notification settings - Fork 3k
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
You can now specify what URLs you want to download in a file #541
Conversation
the test failed:
|
utils/utils.go
Outdated
@@ -154,9 +154,6 @@ func ParseInputFile(r io.Reader) []string { | |||
for scanner.Scan() { | |||
totalLines++ | |||
universalURL := strings.TrimSpace(scanner.Text()) | |||
if universalURL == "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you remove this, there might be empty strings in temp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I know. But now that you can choose what urls you want, so this shouldn't be a problem. Also if I think about a file filled with url there shouldn't be any empty lines anyway?
Codecov Report
@@ Coverage Diff @@
## master #541 +/- ##
==========================================
+ Coverage 69.95% 73.47% +3.52%
==========================================
Files 4 4
Lines 203 230 +27
==========================================
+ Hits 142 169 +27
Misses 59 59
Partials 2 2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks, one last thing, is the title misspelled? You can now ...
?
I am so sorry... fixed it now. Thanks for pointing it out and all the feedback you gave me :> |
Closes #529
Merged all commits into one
@iawia002