Fix typo in README.MD
This commit is contained in:
父節點
a26de5a66c
當前提交
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 = walk.walkSync("/tmp", options);
|
||||||
|
|
||||||
walker.on("names", function (root, nodeNamesArray) {
|
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;
|
||||||
if (a < b) return -1;
|
if (a < b) return -1;
|
||||||
return 0;
|
return 0;
|
||||||
|
載入中…
x
新增問題並參考
Block a user