remove ensureindex api (use postInit instead)

This commit is contained in:
undefined committed 2020-07-25 12:18:54 +08:00
1 parent be9d2bffb9
commit e62e7b49a3
13 files changed
+56 -107

No files matched your search

-1
View File
@@ -24,7 +24,6 @@ export async function load(call: Entry) {
await fs.writeFile(lockfile, JSON.stringify(context));
global.onDestory.push(() => {
fs.removeSync(lockfile);
fs.emptyDirSync(tmpdir);
});
require('../lib/i18n');
require('../utils');