We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccf8b63 commit d9fffe3Copy full SHA for d9fffe3
1 file changed
src/proxy/ssh/sshInternals.ts
@@ -36,7 +36,6 @@ import * as ssh2 from 'ssh2';
36
37
const ssh2Version: string = (() => {
38
try {
39
-
40
return require('ssh2/package.json').version;
41
} catch {
42
return 'unknown';
@@ -133,7 +132,6 @@ export function getChannelModule(): ChannelModule {
133
132
134
let mod: Partial<ChannelModule>;
135
136
137
mod = require('ssh2/lib/Channel');
138
} catch (err) {
139
fail(`cannot require('ssh2/lib/Channel'): ${err instanceof Error ? err.message : String(err)}`);
0 commit comments