ryanmcgrath / wrench-js

Recursive file operations in Node.js
MIT License
435 stars 71 forks source link

Replaced a few more statSync references with lstatSync to ensure symboli... #13

Closed fishmongr closed 12 years ago

fishmongr commented 12 years ago

...c links to directories aren't detected as directories which causes errors. Also in copyDirSyncRecursive removed an explict call to mkDirSync before recusively calling to copy the sub directory as the recursive method is already creating that directory. The explicit call to create the sub directory beforehand is causing the directory to be created twice causing an error.

ryanmcgrath commented 12 years ago

Merged, thanks! Will push out another point release later today, Switzerland time.