From cbd2b1dbc4f5f89c71e4cc593eaecfb1dee3e508 Mon Sep 17 00:00:00 2001 From: kp2pml30 Date: Tue, 3 Sep 2024 18:41:12 +0400 Subject: [PATCH] fix a bug --- git-third-party | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-third-party b/git-third-party index d2e6558..d107476 100755 --- a/git-third-party +++ b/git-third-party @@ -72,7 +72,7 @@ def _update_at(name: str) -> None: patches_dir = _get_patches_dir(name) patch_files = [patches_dir.joinpath(str(i)) for i in range(1, conf['patches'] + 1)] 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): pass