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

Commit

Permalink
Resolves issue #2, thanks to a heads up from jakobmattsson that these…
Browse files Browse the repository at this point in the history
… lines never got removed
  • Loading branch information
Ryan McGrath committed Apr 10, 2011
1 parent 8d26a5c commit 445a283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/wrench.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ exports.copyDirSyncRecursive = function(sourceDir, newDirLocation) {
fs.symlinkSync(symlinkFull, newDirLocation + "/" + files[i]);
} else {
/* At this point, we've hit a file actually worth copying... so copy it on over. */
var contents = fs.readFileSync(sourceDir + "/" + files[i], encoding="utf8");
fs.writeFileSync(newDirLocation + "/" + files[i], contents, encoding="utf8");
var contents = fs.readFileSync(sourceDir + "/" + files[i]);
fs.writeFileSync(newDirLocation + "/" + files[i], contents);
}
}
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wrench",
"description": "Recursive filesystem operations that Node *should* have.",
"version": "0.1.0",
"version": "1.0.0",
"author": "Ryan McGrath <[email protected]>",

"repository": {
Expand Down

0 comments on commit 445a283

Please sign in to comment.