Better filename reporting... #3

Open
wants to merge 2 commits into
from

1 participant

@kg4lod

Thanks for this awesome utility. I had one small problem with it, since we namespace our files with periods. I don't think that is all that uncommon practice. I propose the following modification:

Improve handling of filename so that only the extension is stripped. That is, strip the last segment rather than keeping the first.

Examples:

"this.file.name.js" --> "this.file.name", not "this"
"my.coffee.file.coffee" --> "my.coffee.file", not "my"

kg4lod added some commits Jun 4, 2012
@kg4lod kg4lod Improved handling of filename so that only the extension is stripped …
…(ex. "this.file.name.js" --> "this.file.name", not "this")
5b22b5b
@kg4lod kg4lod Improved handling of filename so that only the extension is stripped …
…(ex. "this.file.name.js" --> "this.file.name", not "this"); Fixed typo in my previous commit
40b109a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment