If path does not exist, load fails silently
Morgul opened this issue · 2 comments
Morgul commented
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.
petersirka commented
Hi @Morgul,
I fixed this problem. Please download source from GitHub.
Today I'll update NPM package.
Thanks!
petersirka commented
I updated NPM package.
Thanks for report.