Fix typo in README.MD
This commit is contained in:
parent
a26de5a66c
commit
a58ea0d682
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue