Skip to content

Commit ff02d11

Browse files
committed
fix error
1 parent 9ac21f1 commit ff02d11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gendiff/gen_diff.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ def generate_diff(file1, file2, format_name='stylish'):
4545
match format_name:
4646
case None:
4747
return gen_diff_stylish(diff)
48+
case 'stylish':
49+
return gen_diff_stylish(diff)
4850
case 'plain':
4951
return gen_diff_plain(diff)
5052
case 'json':

0 commit comments

Comments
 (0)