File tree Expand file tree Collapse file tree 5 files changed +865
-6
lines changed
Expand file tree Collapse file tree 5 files changed +865
-6
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ import { Command } from 'commander';
22import { TradeCommand } from './src/command/trade' ;
33import { ServerCommand } from './src/command/server' ;
44import { BackfillCommand } from './src/command/backfill' ;
5-
6- // init
7- const services = require ( './src/modules/services' ) ;
5+ import services from './src/modules/services' ;
86
97const program = new Command ( ) ;
108
Original file line number Diff line number Diff line change 1- const services = require ( '../modules/services' ) ;
1+ import services from '../modules/services' ;
22
33export class BackfillCommand {
44 constructor ( ) { }
Original file line number Diff line number Diff line change 1- const services = require ( '../modules/services' ) ;
1+ import services from '../modules/services' ;
22
33export class ServerCommand {
44 constructor ( instance : string ) { }
Original file line number Diff line number Diff line change 1- const services = require ( '../modules/services' ) ;
1+ import services from '../modules/services' ;
22
33export class TradeCommand {
44 constructor ( instance : string ) { }
You can’t perform that action at this time.
0 commit comments