diff options
Diffstat (limited to 'src/artifact.py')
| -rw-r--r-- | src/artifact.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/artifact.py b/src/artifact.py index a358446..eff80cf 100644 --- a/src/artifact.py +++ b/src/artifact.py @@ -83,7 +83,7 @@ class GitArtifact(Artifact): run_cmd(["git", "fetch"], output_verbosity=1, cwd=self.repo) except CalledProcessError as e: print_error(f"Failed to update {self.name}") - raise e + raise worktree_cmd = ["git", "worktree", "add", location, checkout] print_debug("create new worktree. By running: ", worktree_cmd, @@ -92,7 +92,7 @@ class GitArtifact(Artifact): run_cmd(worktree_cmd, output_verbosity=1, cwd=self.repo) except CalledProcessError as e: print_error(f"Failed to provide {self.name}") - raise e + raise submodule_init_cmd = [ "git", "submodule", "update", "--init", "--recursive" |
