-
Notifications
You must be signed in to change notification settings - Fork 35
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
files without empty line throws an error #1
Comments
Yes sure. I'll add error message. |
thanks! |
+1, I'd like to see which file causes the issue as I'm left in the dark with the error |
Is there any quick solve for that issue? |
@erm0l0v more developers are running into this problem so it would be great to either show the file in question or allow files without the newline |
I'm looking at the code trying to reproduce the issue but I'm a bit lost ;-) |
I think I've got it. It's possible to pass an initialValue to the reduce function: http://es5.github.io/#x15.4.4.21 With it I think the issue will be fixed. |
I've created a PR for this: #2 |
Sorry for delay, guys. I published version 0.0.5. Could you test this with your code? |
I've tested it against angular2-webpack-starter and it seems okay now, thanks! |
Cool! |
see PatrickJS/PatrickJS-starter#215 (comment) can you log a better error message to suggest having an empty new line
The text was updated successfully, but these errors were encountered: