mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: update CLIFileExistenceChecker to accept containerId in constructor
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user