bug(cli): doctor CRLF repair hint is unavailable to installed users

未关闭
#2,363 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃

调研方向

Find the working-tree line-ending doctor check and inspect how it builds its recovery hint. Check the install and command paths for npm-global and standalone users, then add coverage for both invocation texts. Done when doctor offers a recovery path that does not depend on the Squad source checkout or its package scripts.

由索引模型根据 Issue 内容生成。

描述

wave:1-next wave1:P7

Bug

The working-tree line-ending doctor check tells users to run npm run fix:crlf. That script exists only in the Squad source repository and is unavailable to consumers of npm or standalone installs.

Expected

Doctor should provide an install-aware recovery path, for example a supported squad doctor --fix-crlf command or a safe Git command sequence that works in the user's repository. The hint must not assume the Squad development checkout or its package scripts are present.

Add coverage for npm-global and standalone invocation text.

主要语言
TypeScript
星标
3.4k
派生
516
平均合并
1 天 15 小时
30 天内合并 PR
116

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/squad 的其他 Issue

查看 github/squad 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。