Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
neelasha23 committed Feb 12, 2024
1 parent d923f83 commit a0d1f10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pkgmt/fail_if_invalid_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ def latest_changelog_header(base_branch):

def check_modified(base_branch, include_path, debug=False):
latest_section_main = latest_changelog_header(base_branch)
print(f"Latest section : {latest_section_main}")
out = None
cmd = (
"git diff -U0 --ignore-all-space --ignore-blank-lines {base_branch}... -- "
f"git diff -U0 --ignore-all-space --ignore-blank-lines {base_branch}... -- "
f"| grep '^[+-]' | grep -Ev '^(--- a/|\+\+\+ b/)'" # noqa
)
for path in include_path:
Expand Down

0 comments on commit a0d1f10

Please sign in to comment.