From 4d53f56397e33561e86434daf3a39faf52d25de3 Mon Sep 17 00:00:00 2001 From: "Chen, Tai-Lin" Date: Thu, 23 Nov 2023 21:13:54 +0800 Subject: [PATCH] update quest --- quests/remove/game.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/quests/remove/game.yml b/quests/remove/game.yml index f3a9376..a877e3c 100644 --- a/quests/remove/game.yml +++ b/quests/remove/game.yml @@ -121,7 +121,7 @@ stages: - '你會發現 `empty` 資料夾已經不見了。' - '現在請你試試看 `rmdir` 指令刪除 `notes` 資料夾。' hints: - - 使用 `rmdir notes` 來刪除 `notes` 資料夾。 + - 使用 `rmdir notes` 來刪除 `notes` 資料夾 - id: rm-notes-failed requirements: @@ -178,12 +178,6 @@ stages: - content: - 這個錯誤的意思是找不到檔案 - '請先用 `ls notes` 確認 `notes` 資料夾內有哪些檔案,再來試試看吧!' - responses: - - content: - - '很好!現在我們再使用 `rmdir` 指令刪除 `notes` 資料夾。' - hints: - - 使用 `rmdir notes` 來刪除 `notes` 資料夾。 - - condition: command: - ^ls notes$ @@ -191,6 +185,11 @@ stages: - content: - '`notes` 資料夾中有著 `note.txt` 檔案。' - 那我們就使用 `rm notes/note.txt` 來刪除 `note.txt` 檔案吧! + responses: + - content: + - '很好!現在我們再使用 `rmdir` 指令刪除 `notes` 資料夾。' + hints: + - 使用 `rmdir notes` 來刪除 `notes` 資料夾。 - id: rm-notes requirements: