fix(mosaic-tools): pass explicit Gitea repo args

This commit is contained in:
Jarvis
2026-05-26 14:29:42 -05:00
parent 6422c65961
commit 4a7bebb1cc
11 changed files with 107 additions and 41 deletions

View File

@@ -67,7 +67,7 @@ if [[ "$PLATFORM" == "github" ]]; then
gh issue view "$ISSUE_NUMBER"
elif [[ "$PLATFORM" == "gitea" ]]; then
if command -v tea >/dev/null 2>&1; then
if tea issue "$ISSUE_NUMBER"; then
if tea issue "$ISSUE_NUMBER" $(get_gitea_repo_args); then
exit 0
fi
echo "Warning: tea issue view failed, trying Gitea API fallback..." >&2