petersirka/nosql

If path does not exist, load fails silently

Morgul opened this issue · 2 comments

If you attempt to point your database to a path that doesn't exist (say, './db/test.nosql'), no errors are received, and operations like insert report the correct count. However, the database remains empty.

Either, it should attempt to make the directory tree (I can understand not wanting to), and/or it should report an error if load fails.

Hi @Morgul,

I fixed this problem. Please download source from GitHub.
Today I'll update NPM package.

Thanks!

I updated NPM package.
Thanks for report.