rtk-ai/rtk

bug: telemetry details URL uses blob/main instead of blob/master (404)

Open

#1,665 创建于 2026年5月1日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)Rust (2,914 fork)batch import
area:docsbugdocumentationeffort-smallgood first issuepriority:low

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

Description

During rtk init -g, the installer prints:

Details: https://github.com/rtk-ai/rtk/blob/main/docs/TELEMETRY.md

The repository's default branch is master, not main, so this URL returns 404. Users who want to read the full telemetry details before accepting are blocked.

Affected files

  • src/core/telemetry_cmd.rs (lines 58 and 76)
  • src/hooks/init.rs (line 417)

Fix

Replace blob/main/ with blob/master/ in all three locations.

Reproduced on: rtk 0.28.x, Linux (WSL2)

贡献者指南