Skip to content

doc,fs: keep consistent with fs.link and fs.linkSync#3912

Closed
yorkie wants to merge 1 commit intonodejs:masterfrom
yorkie:improve/fs-doc
Closed

doc,fs: keep consistent with fs.link and fs.linkSync#3912
yorkie wants to merge 1 commit intonodejs:masterfrom
yorkie:improve/fs-doc

Conversation

@yorkie
Copy link
Contributor

@yorkie yorkie commented Nov 19, 2015

So firstly, the destination has a little confusion like I got the log:

Error: EEXIST: file already exists, symlink 'dist/node_modules' -> 'node_modules'

And my source call is:

fs.symlinkSync('dist/node_modules', 'node_modules', 'dir');

Because I thought the first argument stands for destination as the original doc is telling, but it actually is source. Plus, I also make link* and symlinkSync be consistent :-)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants