We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 561cdb2 commit 9b486c9Copy full SHA for 9b486c9
src/cli.ts
@@ -1,6 +1,5 @@
1
import { Proxy, ConnectionPair } from './proxy';
2
import type { FullMessage } from './parse';
3
-import { inspect } from 'util';
4
import { EJSON } from 'bson';
5
6
const ndjson = process.argv[2] === '--ndjson';
test/index.ts
@@ -73,6 +73,7 @@ describe('bin', function() {
73
if (!port) {
74
const match = stdout.match(/Listening on(.+)forwarding/);
75
if (match) {
76
+ // eslint-disable-next-line no-eval
77
port = eval(`(${match[1]}).port`);
78
resolve();
79
}
0 commit comments