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

Fix bug #5 #6

Merged
merged 3 commits into from Feb 16, 2018
Merged

Fix bug #5 #6

merged 3 commits into from Feb 16, 2018

Conversation

TheKinshu
Copy link
Contributor

Fixed the bug where it doesn't check the length of the number for the URL. It will not properly take in the right amount of number or else it will be thrown.

@Micluc
Copy link
Owner

Micluc commented Feb 15, 2018

Looks good for the most part but one issue is if it is checking if num length is greater than 10 then you shouldn't need to check if it is empty.

@TheKinshu
Copy link
Contributor Author

TheKinshu commented Feb 15, 2018

The new commit removed the check if it is empty and replaced with a try and catch instead.

@Micluc
Copy link
Owner

Micluc commented Feb 15, 2018

the body of the if and else if are the same could you use an or to make it so that there is only one statement.

@TheKinshu
Copy link
Contributor Author

TheKinshu commented Feb 15, 2018

Alright, I will fix it right now.

@Micluc Micluc merged commit 7d55633 into Micluc:master Feb 16, 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.

None yet

2 participants