mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 04:46:02 +00:00
ms sql analyser class, typescript check
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
// @ts-check
|
||||
|
||||
const path = require('path');
|
||||
const { fork } = require('child_process');
|
||||
// @ts-ignore
|
||||
const _ = require('lodash');
|
||||
const nedb = require('nedb-promises');
|
||||
|
||||
@@ -12,6 +15,7 @@ module.exports = {
|
||||
|
||||
async _init() {
|
||||
const dir = await datadir();
|
||||
// @ts-ignore
|
||||
this.datastore = nedb.create(path.join(dir, 'connections.jsonl'));
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user