Skip to content

Commit 981110c

Browse files
committed
fix issue
1 parent 2606a1d commit 981110c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsutil/docker/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def _compare_git_branches(path: str, b1: str, b2: str) -> bool:
447447
logger.debug("Comparing branches {} and {} of the local repo {}", b1, b2, path)
448448
if b1 == b2:
449449
return True
450-
cmd = f"git -C {path} diff {b1}..{b2} -- :(exclude)test :(exclude)tests"
450+
cmd = f"git -C {path} diff {b1}..{b2} -- ':(exclude)test' ':(exclude)tests'"
451451
diff = sp.run(cmd, shell=True, check=True, capture_output=True)
452452
return not diff
453453

0 commit comments

Comments
 (0)