fix: error in quests (#79)

This commit is contained in:
Lin, Hung-Shin authored and GitHub committed 2023-11-24 09:51:33 +08:00
commit f30f6472f5
2 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ stages:
- ls-mkdir - ls-mkdir
condition: condition:
pwd: pwd:
- notes - ^/home/commander/notes$
responses: responses:
- type: narrative - type: narrative
content: content:
+9 -9
View File
@@ -44,7 +44,7 @@ stages:
- condition: - condition:
not: not:
pwd: pwd:
- /home/commander - ^/home/commander$
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -78,11 +78,11 @@ stages:
- ls - ls
condition: condition:
pwd: pwd:
- /home/commander/folder1 - ^/home/commander/folder1$
exceptions: exceptions:
- condition: - condition:
pwd: pwd:
- /home/commander - ^/home/commander$
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -90,7 +90,7 @@ stages:
- condition: - condition:
not: not:
pwd: pwd:
- /home/commander - ^/home/commander$
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -113,7 +113,7 @@ stages:
- cd-folder1 - cd-folder1
condition: condition:
pwd: pwd:
- /home/commander/folder1 - ^/home/commander/folder1$
command: command:
- ls - ls
responses: responses:
@@ -131,7 +131,7 @@ stages:
- ls-folder1 - ls-folder1
condition: condition:
pwd: pwd:
- /home/commander - ^/home/commander$
responses: responses:
- content: - content:
- 你成功的回到上一層資料夾了。 - 你成功的回到上一層資料夾了。
@@ -146,7 +146,7 @@ stages:
- cd-.. - cd-..
condition: condition:
pwd: pwd:
- /home/commander/folder2 - ^/home/commander/folder2$
responses: responses:
- content: - content:
- 你成功的進入 `folder2` 資料夾了。 - 你成功的進入 `folder2` 資料夾了。
@@ -160,7 +160,7 @@ stages:
- cd-folder2 - cd-folder2
condition: condition:
pwd: pwd:
- /home/commander/folder2 - ^/home/commander/folder2$
command: command:
- ls - ls
responses: responses:
@@ -176,7 +176,7 @@ stages:
- ls-folder2 - ls-folder2
condition: condition:
pwd: pwd:
- /home/commander - ^/home/commander$
responses: responses:
- content: - content:
- 你成功的回到原本的資料夾了。 - 你成功的回到原本的資料夾了。