Skip to content

Commit 7faf513

Browse files
committed
Extract path to local variable.
1 parent 9fe3c66 commit 7faf513

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

relay/src/serverProcess.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ export class GameManager {
7979
{ cwd: path.join(this.dir, "..", "..", "..", "server", ".lake", "build", "bin") });
8080
}
8181
} else {
82+
const lean4GameFolder = path.join(this.dir, '..', '..', '..')
8283
serverProcess = cp.spawn("../../scripts/bubblewrap.sh",
83-
[game_dir, path.join(this.dir, '..', '..', '..')],
84+
[game_dir, lean4GameFolder],
8485
{ cwd: this.dir });
8586
}
8687

0 commit comments

Comments
 (0)