-
Notifications
You must be signed in to change notification settings - Fork 3
Add ability to override path to db #3
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
Add ability to override path to db #3
Conversation
ezewer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! a good remark is that this is required as to work on electrons mac distributions as db cant be located in root/db/etc
| label, | ||
| persist | ||
| } = this.opts | ||
| const baseName = `${this.name}_${this.opts.name}_${label}.db.json` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same issue here, for undefined options.
also, tests are missing.
ezewer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good now!
robertkowalski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This PR adds an ability to override path to db
This PR is required for this PR bfx-report#160