Resolves issue #2, thanks to a heads up from jakobmattsson that these lines never got removed

This commit is contained in:
Ryan McGrath 2011-04-11 01:28:16 +09:00
parent 8d26a5c13e
commit 445a2836f4
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}
}
};

View file

@ -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 <ryan@venodesigns.net>",
"repository": {