Skip to content

Commit bbd4262

Browse files
committed
Fix stupid breaking change
1 parent 270e8df commit bbd4262

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ function patternMatcher(pattern) {
99
};
1010
}
1111

12-
readdir("some/path").then(
13-
function(files) {
14-
console.log("files are", files);
15-
},
16-
function(error) {
17-
console.error("something exploded", error);
18-
}
19-
);
20-
2112
function toMatcherFunction(ignoreEntry) {
2213
if (typeof ignoreEntry == "function") {
2314
return ignoreEntry;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "recursive-readdir",
44
"description": "Get an array of all files in a directory and subdirectories.",
55
"license": "MIT",
6-
"version": "2.2.0",
6+
"version": "2.2.1",
77
"repository": {
88
"type": "git",
99
"url": "git://github.com/jergason/recursive-readdir.git"

0 commit comments

Comments
 (0)