Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Commit

Permalink
Fix for issue #35
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan McGrath committed Nov 9, 2012
1 parent 6c90fc6 commit 04d6db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wrench.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ exports.rmdirRecursive = function rmdirRecursive(dir, clbk){
return fs.rmdir(dir, clbk);

var file = dir+'/'+filename;
fs.stat(file, function(err, stat){
fs.lstat(file, function(err, stat){
if (err) return clbk(err);
if (stat.isDirectory())
rmdirRecursive(file, rmFile);
Expand Down

0 comments on commit 04d6db1

Please sign in to comment.