From 25709c194aaa4081f2843f3541ee72d5488df70e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Gryta?= Date: Wed, 17 Jul 2024 16:36:26 +0200 Subject: [PATCH] Update touch.py --- check_bump/methods/touch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_bump/methods/touch.py b/check_bump/methods/touch.py index c314808..159b9ee 100644 --- a/check_bump/methods/touch.py +++ b/check_bump/methods/touch.py @@ -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