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 error when generating .editorconfig #255

Merged
merged 2 commits into from Dec 13, 2019

Conversation

rdumont
Copy link

@rdumont rdumont commented Nov 27, 2019

It was possible for the URI parameter to be undefined, so I've handled that scenario while accounting for the possibility of not being inside a folder (which the command binding should already prevent anyway).

Fixes #253.


Please fill in this template.

  • Use a meaningful title for the pull request.
  • Use meaningful commit messages.
  • Run tsc w/o errors (same as npm run compile).
  • Run npm run lint w/o errors.

It was possible for the URI parameter to be `undefined`, so I've
handled that scenario while accounting for the possibility of not
being inside a folder (which the command binding should already
prevent anyway).

Fixes editorconfig#253.
@jednano jednano merged commit 48308e9 into editorconfig:master Dec 13, 2019
@jednano jednano mentioned this pull request Dec 13, 2019
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.

Cannot read property 'toString' of undefined
3 participants