Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs committed Feb 22, 2024
1 parent 02fa130 commit 6543427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/check_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def list_files_on_branch(first_branch_name, second_branch_name):
# Run git diff command to list files on the specified branch
output = subprocess.check_output(['git', 'diff', '--name-only', f'origin/{first_branch_name}..origin/{second_branch_name}']).decode().strip()
output = subprocess.check_output(['git', 'diff', '--name-only', f'{first_branch_name}..{second_branch_name}']).decode().strip()
return output.split('\n')


Expand Down

0 comments on commit 6543427

Please sign in to comment.