Skip to content

Commit 13d6e52

Browse files
Update src/gitingest/utils/git_utils.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d228c47 commit 13d6e52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitingest/utils/git_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ async def _resolve_ref_to_sha(url: str, pattern: str, token: str | None = None)
491491
raise ValueError(msg)
492492

493493
except git.GitCommandError as exc:
494-
msg = f"Failed to resolve {pattern} in {url}:{os.linesep}{exc}"
494+
msg = f"Failed to resolve {pattern} in {url}:\n{exc}"
495495
raise ValueError(msg) from exc
496496

497497
return sha

0 commit comments

Comments
 (0)