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: Exit nicely if the passed directory doesn't exist #344

Merged
merged 2 commits into from
Sep 12, 2019

Conversation

Robdel12
Copy link
Contributor

What is this?

Currently we're not checking to see if the directory passed to the snapshot command actually exists. This PR adds a check and a nice error message if there isn't an existing directory

@Robdel12 Robdel12 force-pushed the rd/check-for-empty-snapshot-dir branch from bc6ddef to 1e9cba6 Compare September 12, 2019 21:12
@Robdel12 Robdel12 force-pushed the rd/check-for-empty-snapshot-dir branch from 1e9cba6 to 1c483a1 Compare September 12, 2019 22:58
@Robdel12 Robdel12 merged commit f65acaf into master Sep 12, 2019
@delete-merged-branch delete-merged-branch bot deleted the rd/check-for-empty-snapshot-dir branch September 12, 2019 23:00
djones pushed a commit that referenced this pull request Sep 12, 2019
## [0.12.2](v0.12.1...v0.12.2) (2019-09-12)

### Bug Fixes

* Exit nicely if the passed directory doesn't exist ([#344](#344)) ([f65acaf](f65acaf))
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