Skip to content

Commit

Permalink
fix parse-replay-worker path
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdrme committed Oct 26, 2024
1 parent 9ce9dd4 commit 5934ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/content/replays/parse-replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export async function parseReplay(replayPath: string) {

export function asyncParseReplay(replayFilePath: string): Promise<Replay> {
return new Promise<Replay>((resolve, reject) => {
const worker = new Worker(path.join(__dirname, "parse-replay-worker.js"), {
const worker = new Worker(path.join(__dirname, "parse-replay-worker.cjs"), {
workerData: { replayFilePath },
});
worker.on("message", resolve);
Expand Down

0 comments on commit 5934ecd

Please sign in to comment.