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

Avoid displaying irrelevant error #748

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

aeisenberg
Copy link
Contributor

@aeisenberg aeisenberg commented Feb 9, 2021

Problem was misplaced parens. We were not waiting for
the call to pathExists to complete before making the call
to stat the directory. When the directory does not
exist, then stat throws an error.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • [n/a] Issues have been created for any UI or other user-facing changes made by this pull request.
  • [n/a] @github/docs-content-dsp has been cc'd in all issues for UI or other user-facing changes made by this pull request.

@aeisenberg aeisenberg force-pushed the aeisenberg/fix-orphaned branch from e8b8457 to a636900 Compare February 9, 2021 17:57
@aeisenberg aeisenberg force-pushed the aeisenberg/fix-orphaned branch 18 times, most recently from fa33e2f to ab28127 Compare February 10, 2021 16:49
Problem was misplaced parens. We were not waiting for
the call to `pathExists` to complete before making the call
to `stat` the directory. When the directory does not
exist, then `stat` throws an error.
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