mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: Remove exceptions from stages
This commit is contained in:
1 parent
fe69841622
commit
49fb5a6a61
10 files changed
+17
-80
No files matched your search
@@ -9,14 +9,6 @@ requirements:
|
||||
- get-started
|
||||
|
||||
stages:
|
||||
- id: warning-01
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
|
||||
- id: start
|
||||
task: 輸入 `echo start` 來開始教程
|
||||
condition:
|
||||
@@ -73,3 +65,11 @@ stages:
|
||||
- 你成功的在終端機上顯示了 `How are you?`。
|
||||
- 相信你已經了解如何使用 `echo` 指令來顯示文字了。
|
||||
- 之後如果要在終端機顯示文字,記得可以使用 `echo` 指令。
|
||||
|
||||
exceptions:
|
||||
- repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
@@ -9,14 +9,6 @@ requirements:
|
||||
- create
|
||||
|
||||
stages:
|
||||
- id: warning-01
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
|
||||
- id: start
|
||||
task: 輸入 `echo start` 來開始
|
||||
condition:
|
||||
|
||||
@@ -10,14 +10,6 @@ requirements:
|
||||
- read
|
||||
|
||||
stages:
|
||||
- id: warning-01
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
|
||||
- id: start
|
||||
task: 輸入 `echo start` 來開始
|
||||
condition:
|
||||
@@ -68,6 +60,7 @@ stages:
|
||||
- ➤ 輸入 `cat hello.txt` 來查看 `hello.txt` 檔案的內容
|
||||
|
||||
- id: cat
|
||||
task: 使用 `cat` 指令來查看 `hello.txt` 檔案的內容
|
||||
condition:
|
||||
command:
|
||||
- ^cat hello.txt$
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
exceptions:
|
||||
- id: warning-02
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- '`'
|
||||
hints:
|
||||
- '!! 不需要輸入上下引號 !!'
|
||||
@@ -10,14 +10,6 @@ requirements:
|
||||
- get-started
|
||||
|
||||
stages:
|
||||
- id: warning-01
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
|
||||
- id: start
|
||||
task: 輸入 `echo start` 來開始教程
|
||||
condition:
|
||||
|
||||
@@ -9,22 +9,6 @@ instruction: |
|
||||
請你在終端機中的 `commander:~ $` 後面輸入 `echo start` 並按下 Enter 來開始教程。
|
||||
|
||||
stages:
|
||||
- id: warning-01
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
|
||||
- id: warning-02
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- '`'
|
||||
hints:
|
||||
- '!! 不需要輸入上下引號 !!'
|
||||
|
||||
- id: start
|
||||
task: 輸入 `echo start` 來開始教程
|
||||
condition:
|
||||
|
||||
@@ -9,14 +9,6 @@ requirements:
|
||||
- create
|
||||
|
||||
stages:
|
||||
- id: warning-01
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
|
||||
- id: start
|
||||
task: 輸入 `echo start` 來開始
|
||||
condition:
|
||||
|
||||
@@ -11,14 +11,6 @@ requirements:
|
||||
- explore
|
||||
|
||||
stages:
|
||||
- id: warning-01
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
|
||||
- id: start
|
||||
task: 輸入 `echo start` 來開始教程
|
||||
condition:
|
||||
|
||||
@@ -9,14 +9,6 @@ requirements:
|
||||
- path
|
||||
|
||||
stages:
|
||||
- id: warning-01
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
|
||||
- id: start
|
||||
task: 輸入 `echo start` 來開始教程
|
||||
condition:
|
||||
|
||||
@@ -13,14 +13,6 @@ requirements:
|
||||
- move
|
||||
|
||||
stages:
|
||||
- id: warning-01
|
||||
repeatable: true
|
||||
condition:
|
||||
command:
|
||||
- ' '
|
||||
hints:
|
||||
- '!! 請勿使用全形空格 !!'
|
||||
|
||||
- id: start
|
||||
task: 輸入 `echo start` 來開始
|
||||
condition:
|
||||
|
||||
Reference in new issue
Block a user