mirror of https://github.com/Fabio286/antares.git
fix: SSH tunnel not working
This commit is contained in:
parent
58611bf07f
commit
6d6151814e
|
@ -2,7 +2,7 @@ import * as antares from 'common/interfaces/antares';
|
|||
import * as mysql from 'mysql2/promise';
|
||||
import { AntaresCore } from '../AntaresCore';
|
||||
import * as dataTypes from 'common/data-types/mysql';
|
||||
import SSH2Promise from 'ssh2-promise';
|
||||
import SSH2Promise = require('ssh2-promise');
|
||||
import SSHConfig from 'ssh2-promise/lib/sshConfig';
|
||||
|
||||
export class MySQLClient extends AntaresCore {
|
||||
|
|
|
@ -5,7 +5,7 @@ import * as pg from 'pg';
|
|||
import * as pgAst from 'pgsql-ast-parser';
|
||||
import { AntaresCore } from '../AntaresCore';
|
||||
import * as dataTypes from 'common/data-types/postgresql';
|
||||
import SSH2Promise from 'ssh2-promise';
|
||||
import SSH2Promise = require('ssh2-promise');
|
||||
import SSHConfig from 'ssh2-promise/lib/sshConfig';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
|
|
Loading…
Reference in New Issue