Skip to content

Commit 01f2045

Browse files
committed
.
1 parent 563ad15 commit 01f2045

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/codegen/extensions/tools/link_annotation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def add_links_to_message(message: str, codebase: Codebase, channel: MessageChann
126126
if directory:
127127
# TODO: implement `Directory.github_url`
128128
github_url = codebase.ctx.base_url
129+
github_url = github_url or "https://github.com/your/repo/tree/develop/" # Fallback URL
129130
if github_url.endswith(".git"):
130131
github_url = github_url.replace(".git", "/tree/develop/") + str(directory.dirpath)
131132
else:

0 commit comments

Comments
 (0)