Skip to content

Commit 14aa597

Browse files
authored
Update change_log.py (Azure#24322)
fix bug
1 parent 3a27401 commit 14aa597

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/azure-sdk-tools/packaging_tools/change_log.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ def build_change_log(old_report, new_report):
176176
# Operations
177177
if diff_line[0][0] == "operations":
178178
change_log.operation(diff_line)
179-
else:
179+
elif diff_line[0][0] == "models":
180180
change_log.models(diff_line)
181-
if diff_line[0][0] == 'client':
181+
elif diff_line[0][0] == 'client':
182182
change_log.client()
183183

184184
return change_log

0 commit comments

Comments
 (0)