mirror of
https://github.com/kp2pml30/git-third-party.git
synced 2026-04-14 14:41:45 +04:00
fix a bug
This commit is contained in:
parent
885cfb9023
commit
cbd2b1dbc4
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ def _update_at(name: str) -> None:
|
||||||
patches_dir = _get_patches_dir(name)
|
patches_dir = _get_patches_dir(name)
|
||||||
patch_files = [patches_dir.joinpath(str(i)) for i in range(1, conf['patches'] + 1)]
|
patch_files = [patches_dir.joinpath(str(i)) for i in range(1, conf['patches'] + 1)]
|
||||||
if len(patch_files) != 0:
|
if len(patch_files) != 0:
|
||||||
subprocess.run(['git', 'am', *patch_files], cwd=target_dir)
|
subprocess.run(['git', 'am', *patch_files], cwd=target_dir, check=True)
|
||||||
|
|
||||||
class GitThirdPartyException(Exception):
|
class GitThirdPartyException(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue