From 672b9ad38a05c9c695d3b013cf7b42a0c8653326 Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Thu, 18 Apr 2019 13:21:20 +0200 Subject: [PATCH] [fix] wotwizard: remove also the "_0" file during a `reset data` --- app/lib/system/directory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/system/directory.ts b/app/lib/system/directory.ts index 0e17edb27..74cd623e6 100644 --- a/app/lib/system/directory.ts +++ b/app/lib/system/directory.ts @@ -118,7 +118,7 @@ export const MemFS = (initialTree:{ [folder:string]: { [file:string]: string }} export const Directory = { DATA_FILES: ['mindex.db', 'c_mindex.db', 'iindex.db', 'cindex.db', 'sindex.db', 'wallet.db', 'dividend.db', 'txs.db', 'peers.db'], - WW_FILES: ['wotwizard-export.db'], + WW_FILES: ['wotwizard-export_0.db','wotwizard-export.db'], DATA_DIRS: ['data'], INSTANCE_NAME: getDomain(opts.mdb), -- GitLab