Skip to content

Commit 9a03981

Browse files
committed
fix: git rule
1 parent 1ef003d commit 9a03981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/git.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pattern = [
77
suggest = [
88
'''
99
#[err_contains(the most similar command is)]
10-
{{command[0]}} {{err::(?:the most similar command is )(\S+)}} ''',
10+
{{command[0]}} {{err::(?:the most similar command is )(\S+)}} {{command[2:]}}''',
1111
'''
1212
#[!err_contains(the most similar command is)]
1313
{{command[0]}} {{typo[1](

0 commit comments

Comments
 (0)