Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Unhandled Promise rejection when called with a non-existent path #334

Merged
merged 1 commit into from
Sep 6, 2019

Commits on Jul 18, 2019

  1. Fix Unhandled Promise rejection when called with a non-existent path

    When jscodeshift is called with a path that doesn't exist, `concatAll()` gets called with `undefined`, which isn't an interable, and throws an error. This PR fixes the promise being resolved by matching it with the ignore case.
    Sunil Pai authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    298690d View commit details
    Browse the repository at this point in the history