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