Skip to content

Commit

Permalink
Fixed some stray globals. Closes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
jprichardson committed Oct 11, 2012
1 parent 7a453dd commit ede0f52
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.3.1 / 2012-10-11
------------------
* Fixed some stray globals.

0.3.0 / 2012-10-09
------------------
* Removed all CoffeeScript from tests.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fs.copy('/tmp/mydir', '/tmp/mynewdir'function(err){



### remove()
### remove() / delete()

Removes a file or directory. The directory can have contents. Like `rm -rf`.

Expand Down
4 changes: 2 additions & 2 deletions lib/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var fs = require('fs')
var BUF_LENGTH = 64 * 1024;
var _buff = new Buffer(BUF_LENGTH);

copyFileSync = function(srcFile, destFile) {
var copyFileSync = function(srcFile, destFile) {
var bytesRead, fdr, fdw, pos;
fdr = fs.openSync(srcFile, 'r');
fdw = fs.openSync(destFile, 'w');
Expand All @@ -19,7 +19,7 @@ copyFileSync = function(srcFile, destFile) {
return fs.closeSync(fdw);
};

copyFile = function(srcFile, destFile, cb) {
var copyFile = function(srcFile, destFile, cb) {
var fdr, fdw;
fdr = fs.createReadStream(srcFile);
fdw = fs.createWriteStream(destFile);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fs-extra",
"version": "0.3.0",
"version": "0.3.1",
"description": "fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.",
"homepage": [
"https://github.com/jprichardson/node-fs-extra"
Expand Down

0 comments on commit ede0f52

Please sign in to comment.