Skip to content

Avoid displaying irrelevant error#748

Merged
aeisenberg merged 1 commit intogithub:mainfrom
aeisenberg:aeisenberg/fix-orphaned
Feb 11, 2021
Merged

Avoid displaying irrelevant error#748
aeisenberg merged 1 commit intogithub:mainfrom
aeisenberg:aeisenberg/fix-orphaned

Conversation

@aeisenberg
Copy link
Copy Markdown
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