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

Handle extensionless files in removeFileExtension #96

Merged

Conversation

Adjective-Object
Copy link
Collaborator

When files don't have an exension, splice is called with (0, -0), whcih
always resolves to ''.

This fixes this so that extensionless files never have their basename
stripped

When files don't have an exension, splice is called with (0, -0), whcih
always resolves to ''.

This fixes this so that extensionless files never have their basename
stripped
@smikula smikula merged commit 6269236 into smikula:master Aug 10, 2021
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.

2 participants