Skip to content

Commit

Permalink
Make removeExt ignore maxSize
Browse files Browse the repository at this point in the history
  • Loading branch information
yucho committed Jul 16, 2019
1 parent 611e986 commit 0fa07d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/code/upath.coffee
Expand Up @@ -86,7 +86,7 @@ extraFunctions =
else
ext = if ext[0] is '.' then ext else '.' + ext
if upath.extname(filename) is ext
upath.trimExt filename
upath.trimExt filename, [], ext.length
else
filename

Expand Down

0 comments on commit 0fa07d4

Please sign in to comment.