mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
clean: remove unused code
This commit is contained in:
1 parent
129d2ff49b
commit
d450613816
19 files changed
-282
No files matched your search
@@ -10,8 +10,6 @@ import { CLIFileExistenceChecker } from '../../containers/cli'
|
||||
export const newCommand = asyncHandler(async (req: Request, res: Response) => {
|
||||
const command = commandSchema.parse(req.body)
|
||||
|
||||
console.log('command', command)
|
||||
|
||||
const { sessionId } = req.user as any
|
||||
const session = await Session.findById(sessionId)
|
||||
if (!session) {
|
||||
@@ -43,7 +41,6 @@ export const newCommand = asyncHandler(async (req: Request, res: Response) => {
|
||||
)
|
||||
|
||||
const event = await gameSession.runCommand(command)
|
||||
console.log('event', event)
|
||||
|
||||
const c = new Command({
|
||||
...command,
|
||||
|
||||
Reference in new issue
Block a user