Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
kvstore.close(() => {
rocksdb.destroy(path, function(err){
console.log('db destroy result: '+(err || 'ok'));
db.close(() => {
shell('rm -r ' + app_data_dir);
t.end();
});
});
});
});