mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: duplicate response
This commit is contained in:
1 parent
57c080d88b
commit
ed596c245d
3 files changed
+8
-6
No files matched your search
@@ -6,6 +6,7 @@
|
||||
"dev": "vite",
|
||||
"dev:docker": "API_TARGET=http://backend:3000 vite",
|
||||
"build": "vue-tsc -b && vite build",
|
||||
"type-check": "vue-tsc -b",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -95,10 +95,13 @@ stages:
|
||||
not:
|
||||
pwd:
|
||||
- ^/home/commander$
|
||||
content:
|
||||
- 請留在 `/home/commander` 資料夾中。
|
||||
- 請輸入 `cd ~` 回到 `/home/commander` 資料夾。
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
- 請留在 `/home/commander` 資料夾中。
|
||||
- 請輸入 `cd ~` 回到 `/home/commander` 資料夾。
|
||||
responses:
|
||||
- content:
|
||||
- type: narrative
|
||||
content:
|
||||
- 你成功地查看到 `file.txt` 的內容了。
|
||||
- 你已經會使用 `cat` 指令查看檔案的內容了。
|
||||
@@ -49,8 +49,6 @@ export const newCommand = asyncHandler(async (req: Request, res: Response) => {
|
||||
c.stage = response.stage
|
||||
await c.save()
|
||||
|
||||
session.responses.push(response.responses)
|
||||
|
||||
if ((session.status as string) === 'finished') {
|
||||
await finishSession(session)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user