Skip to content

Commit 13390dd

Browse files
erikkempermanphated
authored andcommitted
Fix: Call the correct callback within symlink (fixes #298) (#299)
1 parent 0d6e6be commit 13390dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/symlink/link-file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function linkStream(optResolver) {
2727

2828
function onReflectTarget(statErr) {
2929
if (statErr && statErr.code !== 'ENOENT') {
30-
return onWritten(statErr);
30+
return callback(statErr);
3131
}
3232
// If target doesn't exist, the vinyl will still carry the target stats.
3333
// Let's use those to determine which kind of dangling link to create.

0 commit comments

Comments
 (0)