Skip to content

Commit

Permalink
fix: SSH tunnel not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed May 10, 2022
1 parent 58611bf commit 6d61518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/libs/clients/MySQLClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/main/libs/clients/PostgreSQLClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d61518

Please sign in to comment.