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 extname with one char filename #6216

Closed
wants to merge 1 commit into from

Conversation

S-YOU
Copy link

@S-YOU S-YOU commented Jun 18, 2018

Should fix #6215.
let me know If I should move filename.rindex(SEPARATOR) || -1 to separate variable to be more readable.

@S-YOU
Copy link
Author

S-YOU commented Jun 18, 2018

Closing, asterite has awesome PR xD

@S-YOU S-YOU closed this Jun 18, 2018
@S-YOU S-YOU deleted the fix-extname branch June 18, 2018 15:44
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.

Unable to get extension with File.extname of filenames with length=1
1 participant