Skip to content

Commit

Permalink
fix: no file changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Lin-jun-xiang authored Nov 2, 2023
1 parent 0e5f907 commit 5e550c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ async def main():
modified_files = stdout.split("\n")
for file in modified_files:
if "README" not in file:
print('no README changed.')
return
continue
print(f'{file} changed.')

prefix_path = extract_prefix(file)
Expand Down

0 comments on commit 5e550c0

Please sign in to comment.