diff --git a/lib/wrench.js b/lib/wrench.js index 815b11b..3ebe564 100644 --- a/lib/wrench.js +++ b/lib/wrench.js @@ -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); } } }; diff --git a/package.json b/package.json index 6936b42..5aa9708 100644 --- a/package.json +++ b/package.json @@ -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 ", "repository": {