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

use empty slice when we cannot read URL entries #25

Merged
merged 1 commit into from
Jun 5, 2022

Conversation

elderica
Copy link
Contributor

@elderica elderica commented Jun 5, 2022

The first time this command is used, the user will see an error because it tries to read a urls.txt file that does not exist. This commit simply empties the array to avoid that.

@sheepla
Copy link
Owner

sheepla commented Jun 5, 2022

Oh, certainly it doesn't have to exit with error. Thank you! 👍

@sheepla sheepla merged commit 9931cfd into sheepla:master Jun 5, 2022
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.

None yet

2 participants