Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

fix: pass options to level #96

Merged
merged 1 commit into from
Nov 29, 2019

Conversation

achingbrain
Copy link
Contributor

I'm trying to use the prefix option of level-js to override this.prefix, but the options arg is not being passed to level-js.

This PR passes options to the specified level implementation and adds a test for the same. It also renames a couple of the tests to be more specific as they test the options were passed to the levelup wrapper, rather than the underlying level implementation, which is what the added test tests.

Passes options to level implementation as well as levelup wrapper.
@vweevers vweevers added the semver-patch Bug fixes that are backward compatible label Nov 29, 2019
@vweevers vweevers merged commit 29b93a6 into Level:master Nov 29, 2019
@vweevers
Copy link
Member

5.1.1

@achingbrain achingbrain deleted the pass-options-to-level branch November 29, 2019 11:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
semver-patch Bug fixes that are backward compatible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants