diff --git a/lib/storage.js b/lib/storage.js index 3b2d09d..d179e68 100755 --- a/lib/storage.js +++ b/lib/storage.js @@ -71,7 +71,7 @@ storage.flushToStorageAsync = async (options) => { * database is loaded and a crash happens. */ - let fd, errorOnFsync, errorOnClose + let fd, errorOnFsync, errorOnClose // TODO: sometimes it leaves some file descriptors open try { fd = await fsPromises.open(filename, flags) try {