Skip to content

Commit

Permalink
Fix stupid breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
jergason committed May 15, 2017
1 parent 270e8df commit bbd4262
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ function patternMatcher(pattern) {
};
}

readdir("some/path").then(
function(files) {
console.log("files are", files);
},
function(error) {
console.error("something exploded", error);
}
);

function toMatcherFunction(ignoreEntry) {
if (typeof ignoreEntry == "function") {
return ignoreEntry;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "recursive-readdir",
"description": "Get an array of all files in a directory and subdirectories.",
"license": "MIT",
"version": "2.2.0",
"version": "2.2.1",
"repository": {
"type": "git",
"url": "git://github.com/jergason/recursive-readdir.git"
Expand Down

3 comments on commit bbd4262

@gaearon
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol I was just about to update CRA to that version. 😄

@jergason
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌 O P E N S O U R C E 👐

@jergason
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I unpublished the broken version so hopefully I didn't break anyone's stuff :(

Please sign in to comment.