Skip to content

Commit

Permalink
Merge pull request #11 from richard-bt/patch-windows-symlink-dir
Browse files Browse the repository at this point in the history
Fix symlink creation on Windows Issue #10
  • Loading branch information
feross committed Jun 10, 2015
2 parents 878c914 + f2858ce commit f6c0677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zelda.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function zelda (root, done) {
}

try {
fs.symlinkSync(src, dst)
fs.symlinkSync(src, dst, 'dir')
console.log('NPM LINK: ' + dst + ' => ' + src)
} catch (e) {
console.log('using existing symlink... ' + dst)
Expand Down

0 comments on commit f6c0677

Please sign in to comment.