Skip to content

Commit

Permalink
Update touch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rgryta committed Jul 17, 2024
1 parent 5ad6f96 commit 25709c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_bump/methods/touch.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def check(args):
# Old version
rel_path = get_repo_file(file_path)
old_version = subprocess.run(
shlex.split(f"git diff --quiet HEAD\^ HEAD -- '{rel_path}'"), capture_output=True, check=False
shlex.split(f"git diff --quiet HEAD^ HEAD -- '{rel_path}'"), capture_output=True, check=False
).returncode

# Check
Expand Down

0 comments on commit 25709c1

Please sign in to comment.