-
Notifications
You must be signed in to change notification settings - Fork 45
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
path.extname is deprecated. #148
Comments
Hi, I fixed this in my local copy by changing the line 27 of tag-generatof.coffee to :
As I understand it, @path can be undefined, as it is obtained by doing |
I did make a pull request, but I'd rather someone verify if this the correct way to check for undefined values. I did test on a minimal example on http://coffeescript.org/, and it looks like it's working locally on my machine, but I'm wondering if it wouldn't be better to use the existential "?" and write:
|
I am no coffee script expert either, but It would have been interesting though to know what exactly triggers the bug (maybe files without extension?). |
Duplicate of #140 |
Argument to
path.extname
must be a stringThe text was updated successfully, but these errors were encountered: