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 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
node.js, typescript

研究方向

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 摘要。