diff --git a/lib/symlink/link-file.js b/lib/symlink/link-file.js index 7db95d90..e1caf977 100644 --- a/lib/symlink/link-file.js +++ b/lib/symlink/link-file.js @@ -27,7 +27,7 @@ function linkStream(optResolver) { function onReflectTarget(statErr) { if (statErr && statErr.code !== 'ENOENT') { - return onWritten(statErr); + return callback(statErr); } // If target doesn't exist, the vinyl will still carry the target stats. // Let's use those to determine which kind of dangling link to create.