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

Commit 212862e

Browse files
committed
Don't rely on fixRange's side effects, fixes #21
1 parent 65caf99 commit 212862e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module.exports = function (db, options) {
5050
function safeRange(fun) {
5151
return function (opts) {
5252
opts = opts || {}
53-
fixRange(opts)
53+
opts = fixRange(opts)
5454

5555
if(opts.reverse) opts.start = opts.start || sep
5656
else opts.end = opts.end || sep

0 commit comments

Comments
 (0)