-
Notifications
You must be signed in to change notification settings - Fork 56
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: Dont double up badger file path #1299
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1299 +/- ##
===========================================
- Coverage 70.47% 70.38% -0.09%
===========================================
Files 184 184
Lines 17825 17825
===========================================
- Hits 12562 12546 -16
- Misses 4311 4323 +12
- Partials 952 956 +4
|
tbh there are no tests (manual) from the Windows perspective 😬. Both Shahzad and I who run windows develop soley via WSL. |
Tested on an actual windows build (powershell). Looking good! |
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
Cheers John! |
Config magic means that these are not nessecarily the same values, and that checking the wrong one can double up the path value.
3ab939b
to
3a527f2
Compare
* Check the path in the config, not the result Config magic means that these are not nessecarily the same values, and that checking the wrong one can double up the path value. * Correctly document config file magic
* Check the path in the config, not the result Config magic means that these are not nessecarily the same values, and that checking the wrong one can double up the path value. * Correctly document config file magic
Relevant issue(s)
Resolves #1293
Description
Previously if $HOME/.defradb is empty, the first time defradb start is run it will create and run defra from the correct folder. If you close down the server and re-run defradb start, it will create and run defra from
$HOME/.defradb/$HOME/.defradb/data
, but load the config from the correct location.Might be worth someone giving this one a quick test from windows.
Specify the platform(s) on which this was tested: