Skip to content

Commit

Permalink
use relative instead of absolute path with fork
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Jan 2, 2025
1 parent c20bc1f commit 7a7260e
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions src/experimental-bots/filler/fillerMultithreaded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,13 +482,7 @@ export class FillerMultithreaded {
const dlobBuilderFileName =
'dlobBuilder' + (isTsRuntime() ? '.ts' : '.js');
const dlobBuilderProcess = spawnChild(
path.join(
process.cwd(),
'src',
'experimental-bots',
'filler-common',
dlobBuilderFileName
),
path.join(__dirname, '../filler-common', dlobBuilderFileName),
dlobBuilderArgs,
'dlobBuilder',
(msg: any) => {
Expand Down Expand Up @@ -582,13 +576,7 @@ export class FillerMultithreaded {
const orderSubscriberFileName =
'orderSubscriberFiltered' + (isTsRuntime() ? '.ts' : '.js');
const orderSubscriberProcess = spawnChild(
path.join(
process.cwd(),
'src',
'experimental-bots',
'filler-common',
orderSubscriberFileName
),
path.join(__dirname, '../filler-common', orderSubscriberFileName),
orderSubscriberArgs,
'orderSubscriber',
(msg: any) => {
Expand Down Expand Up @@ -618,13 +606,7 @@ export class FillerMultithreaded {
const swiftOrderSubscriberFileName =
'swiftOrderSubscriber' + (isTsRuntime() ? '.ts' : '.js');
const swiftOrderSubscriberProcess = spawnChild(
path.join(
process.cwd(),
'src',
'experimental-bots',
'filler-common',
swiftOrderSubscriberFileName
),
path.join(__dirname, '../filler-common', swiftOrderSubscriberFileName),
orderSubscriberArgs,
'swiftOrderSubscriber',
(msg: any) => {
Expand Down

0 comments on commit 7a7260e

Please sign in to comment.