From a58ea0d682533223bd0287f89b15da81ed38e515 Mon Sep 17 00:00:00 2001 From: David Murdoch Date: Tue, 5 Mar 2013 16:58:24 -0500 Subject: [PATCH] Fix typo in README.MD --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36761ae..bba5c6e 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ The Synchronous version still uses callbacks, so it is safe to use with other As // walker = walk.walkSync("/tmp", options); walker.on("names", function (root, nodeNamesArray) { - nodeNames.sort(function (a, b) { + nodeNamesArray.sort(function (a, b) { if (a > b) return 1; if (a < b) return -1; return 0;