fix: wrong exception condition

This commit is contained in:
wancat committed 2024-07-01 10:41:48 +08:00
1 parent 4324932fc9
commit 988cb65b51
1 file changed
+11 -11
+11 -11
View File
@@ -28,7 +28,7 @@ exceptions:
- condition: - condition:
command: command:
- ^echo\S$ - ^echo[^\s]
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -36,7 +36,7 @@ exceptions:
- condition: - condition:
command: command:
- ^cd\S$ - ^cd\S
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -44,7 +44,7 @@ exceptions:
- condition: - condition:
command: command:
- ^ls\S$ - ^ls\S
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -52,7 +52,7 @@ exceptions:
- condition: - condition:
command: command:
- ^cat\S$ - ^cat\S
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -60,7 +60,7 @@ exceptions:
- condition: - condition:
command: command:
- ^touch\S$ - ^touch\S
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -71,7 +71,7 @@ exceptions:
command: command:
- ^rmdir$ - ^rmdir$
command: command:
- ^rm\S$ - ^rm\S
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -79,7 +79,7 @@ exceptions:
- condition: - condition:
command: command:
- ^mv\S$ - ^mv\S
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -87,7 +87,7 @@ exceptions:
- condition: - condition:
command: command:
- ^mkdir\S$ - ^mkdir\S
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -95,7 +95,7 @@ exceptions:
- condition: - condition:
command: command:
- ^rmdir\S$ - ^rmdir\S
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -103,7 +103,7 @@ exceptions:
- condition: - condition:
command: command:
- ^cp\S$ - ^cp\S
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -111,7 +111,7 @@ exceptions:
- condition: - condition:
command: command:
- ^[Ii1]s$ - ^[Ii1]s
responses: responses:
- type: narrative - type: narrative
content: content: