-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
onWritten is not defined #298
Comments
ping @erikkemperman - I'm not sure which callback it's supposed to call there. I believe this was pulled from another chunk of code by erik |
Looks like it should just be |
fwiw it didn't cause me any problems, I didn't have time to write more earlier. I just noticed it in the code and wanted to let you know. As much as we all like to act like code snobs about stuff like this, it happens to everyone. Linters are still run by humans lol. |
No worries. Our linting setup needs a lot of work. |
Indeed, this looks like a sloppy/paste from Also, this path is apparently not covered by the tests -- or we would have caught this obviously -- but I didn't have time to remedy that just now. For what it's worth, we get here only on Windows, when creating a symlink to a target which exists but can't be statted (as in permissions, I guess). |
PS thanks @jonschlinkert for reporting this -- much better to address this before it actually burns anyone. |
https://github.com/gulpjs/vinyl-fs/blob/master/lib/symlink/link-file.js#L30
The text was updated successfully, but these errors were encountered: