fix: update quest [explore]

This commit is contained in:
Chen, Tai-Lin committed 2024-07-03 01:01:30 +08:00
1 parent 922100d8da
commit b792992391
1 file changed
+10 -10
+10 -10
View File
@@ -31,7 +31,7 @@ stages:
- start - start
condition: condition:
command: command:
- ls - ^ls$
exceptions: exceptions:
- condition: - condition:
not: not:
@@ -62,7 +62,7 @@ stages:
- ls - ls
condition: condition:
pwd: pwd:
- /home/commander/folder1 - ^/home/commander/folder1$
exceptions: exceptions:
- condition: - condition:
command: command:
@@ -73,7 +73,7 @@ stages:
`folder1` 的最後是數字 `1` 不是字母 `l`。 `folder1` 的最後是數字 `1` 不是字母 `l`。
- condition: - condition:
pwd: pwd:
- /home/commander - ^/home/commander$
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -81,7 +81,7 @@ stages:
- condition: - condition:
not: not:
pwd: pwd:
- /home/commander - ^/home/commander$
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -105,9 +105,9 @@ stages:
- cd-folder1 - cd-folder1
condition: condition:
pwd: pwd:
- /home/commander/folder1 - ^/home/commander/folder1$
command: command:
- ls - ^ls$
responses: responses:
- content: | - content: |
你現在可以看到 `folder1` 資料夾中有兩的檔案,分別是 `file1.txt` 跟 `file2.txt`。 你現在可以看到 `folder1` 資料夾中有兩的檔案,分別是 `file1.txt` 跟 `file2.txt`。
@@ -123,7 +123,7 @@ stages:
- ls-folder1 - ls-folder1
condition: condition:
pwd: pwd:
- /home/commander - ^/home/commander$
responses: responses:
- content: | - content: |
你成功的回到上一層資料夾了。 你成功的回到上一層資料夾了。
@@ -138,7 +138,7 @@ stages:
- cd-.. - cd-..
condition: condition:
pwd: pwd:
- /home/commander/folder2 - ^/home/commander/folder2$
responses: responses:
- content: | - content: |
你成功的進入 `folder2` 資料夾了。 你成功的進入 `folder2` 資料夾了。
@@ -152,7 +152,7 @@ stages:
- cd-folder2 - cd-folder2
condition: condition:
pwd: pwd:
- /home/commander/folder2 - ^/home/commander/folder2$
command: command:
- ^ls$ - ^ls$
responses: responses:
@@ -168,7 +168,7 @@ stages:
- ls-folder2 - ls-folder2
condition: condition:
pwd: pwd:
- /home/commander - ^/home/commander$
responses: responses:
- content: | - content: |
你成功的回到原本的資料夾了。 你成功的回到原本的資料夾了。