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 for the --single option #52

Merged
merged 2 commits into from
Dec 9, 2016
Merged

Fix for the --single option #52

merged 2 commits into from
Dec 9, 2016

Conversation

domderen
Copy link
Contributor

@domderen domderen commented Dec 8, 2016

Right now running list with --single option doesn't work correctly. I tries to load the file under a specified path, and when it doesn't find it, it crushes with an error:

Error: ENOENT: no such file or directory, open '/Users/dominik/Downloads/theory-463759986/whatever'
    at Error (native)

The above commit reverts the line that introduced the bug and fixes the behaviour for --single option.

Right now running list with `--single` option doesn't work correctly. I tries to load the file under a specified path, and when it doesn't find it, it crushes with an error:

```
Error: ENOENT: no such file or directory, open '/Users/dominik/Downloads/theory-463759986/whatever'
    at Error (native)
```

The above commit reverts the line that introduced the bug and fixes the behaviour for `--single` option.
@leo
Copy link
Contributor

leo commented Dec 9, 2016

Files without extensions also exist 😊

@domderen
Copy link
Contributor Author

domderen commented Dec 9, 2016

Updated the PR, hopefully this one is better ;)

@leo leo merged commit 275b9fc into vercel:master Dec 9, 2016
@leo
Copy link
Contributor

leo commented Dec 9, 2016

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants