From f079b390b6100fead23351a0da09bbec86b12497 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Thu, 23 Feb 2012 05:28:10 -0500 Subject: [PATCH] Version bump, README discrepancy fix, point release --- package.json | 2 +- readme.md | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 2c8a5d3..6e56f09 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wrench", "description": "Recursive filesystem (and other) operations that Node *should* have.", - "version": "1.3.6", + "version": "1.3.7", "author": "Ryan McGrath ", "repository": { diff --git a/readme.md b/readme.md index 1462160..393e3da 100644 --- a/readme.md +++ b/readme.md @@ -52,11 +52,7 @@ while(f.hasNextLine()) { // Recursively read directories contents var files = []; wrench.readdirRecursive('my_directory_name', function(error, curFiles) { - if (files) { - files = files.concat(curFiles); - } else { - // files list contains all the directory contents now - } + // curFiles is what you want }); ```