Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Didn't mean to commit this.
  • Loading branch information
mia-pi-git committed Nov 4, 2023
1 parent d6c78db commit 56a5175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/process-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ export abstract class ProcessManager<T extends ProcessWrapper = ProcessWrapper>
this.module = module;
this.filename = module.filename;
this.basename = path.basename(module.filename);
this.isParentProcess = !process.send;
this.isParentProcess = (process.mainModule !== module || !process.send);

this.listen();
}
Expand Down

0 comments on commit 56a5175

Please sign in to comment.