-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nameExcludingExtension bug when there’s no extension (#102)
Currently using `nameExcludingExtension` on a location that doesn’t actually have an extension results in an empty string, which this patch fixes. Now the full name is returned instead in those situations.
- Loading branch information
1 parent
19daa3e
commit 941052d
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters