@ -73,7 +73,6 @@ class Persistence {
* @param {Function} callback Optional callback, signature: err
*/
persistCachedDatabase (callback = () => {}) {
const lines = []
if (this.inMemoryOnly) return callback(null)
@ -117,10 +117,10 @@ fs.writeFile = function (path, data, options, callback_) {
fs.createWriteStream = function (path) {
let content = ''
return {
write(data) {
write (data) {
content += data
},
close(callback) {
close (callback) {
fs.writeFile(path, content, callback)
}