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 condition for line 61 in main.go #5

Closed
tonyvugithub opened this issue Sep 22, 2020 · 0 comments · Fixed by #6
Closed

fix condition for line 61 in main.go #5

tonyvugithub opened this issue Sep 22, 2020 · 0 comments · Fixed by #6
Labels
enhancement New feature or request

Comments

@tonyvugithub
Copy link
Contributor

if len(*filenamePtr) <= 0 {
...
}

length should never be negative so == 0 would reflect it better.

@1jz 1jz added the enhancement New feature or request label Sep 22, 2020
@1jz 1jz linked a pull request Sep 22, 2020 that will close this issue
@1jz 1jz closed this as completed in #6 Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants