heapwolf/lev

PUT does not work in REPL mode using some kinds of JSON

lliss opened this issue · 1 comments

lliss commented

Because of the way arguments are parsed, any JSON value that includes a space, will result in an error. For example:
put testkey "{\"test\":\"some value\"}"
will fail because the value will be interpreted as {"test":"some
The error is cause by the argument handling here:
https://github.com/0x00A/lev/blob/cff7f20484a1247a3d08aadeb42b8e7088ff2b94/lib/repl.js#L66

Seems like your PR should address this, so could this be closed?