fix: update CLIFileExistenceChecker to accept containerId in constructor

This commit is contained in:
Justin Lin committed 2025-04-26 11:09:10 +08:00
1 parent 5077f9c677
commit f7860c6197
2 files changed
+16 -21

No files matched your search

@@ -39,7 +39,7 @@ export const newCommand = asyncHandler(async (req: Request, res: Response) => {
const gameSession = new GameSession(
session,
quest,
new CLIFileExistenceChecker()
new CLIFileExistenceChecker(session.containerId!)
)
const event = await gameSession.runCommand(command)