Skip to content

Commit 7430b1a

Browse files
authored
chore: clean up in index.ts
Signed-off-by: Kris West <kristopher.west@natwest.com>
1 parent 49338a6 commit 7430b1a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

index.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import { hideBin } from 'yargs/helpers';
66
import * as fs from 'fs';
77
import { getConfigFile, setConfigFile, validate } from './src/config/file';
88
import { initUserConfig } from './src/config';
9-
import * as Proxy from './src/proxy';
10-
import * as Service from './src/service';
9+
import { Proxy } from './src/proxy';
10+
import { Service } from './src/service';
1111

12-
console.log('handling commandline args');
1312
const argv = yargs(hideBin(process.argv))
1413
.usage('Usage: $0 [options]')
1514
.options({
@@ -55,8 +54,8 @@ validate();
5554
console.log('Setting up the proxy and Service');
5655

5756
// The deferred imports should cause these to be loaded on first access
58-
const proxy = new Proxy.Proxy();
57+
const proxy = new Proxy();
5958
proxy.start();
60-
Service.Service.start(proxy);
59+
Service.start(proxy);
6160

6261
export { proxy, Service };

0 commit comments

Comments
 (0)