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

Rise proper error when listing no workdirs #177

Merged
merged 1 commit into from
Jul 31, 2019
Merged

Rise proper error when listing no workdirs #177

merged 1 commit into from
Jul 31, 2019

Conversation

dpordomingo
Copy link
Contributor

Fix: #144
Related to #162

Bug #144 was partially solved by #153, but it only asserted for the existence of ~/.sourced, and not for also ~/.sourced/workdirs, which could not exist.

If this PR is merged, the proper nice error will be shown if the user runs sourced workdir before running init.

@dpordomingo dpordomingo added the bug Something isn't working label Jul 31, 2019
@dpordomingo dpordomingo requested a review from a team July 31, 2019 13:26
@dpordomingo dpordomingo self-assigned this Jul 31, 2019
@dpordomingo dpordomingo merged commit 912decc into src-d:master Jul 31, 2019
@dpordomingo dpordomingo deleted the handle-no-exist-workdir branch July 31, 2019 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

workdirs shows error when ~/.sourced does not exist
3 participants