github / github/copilot-cli

Debug logs saved to location is missing a `\`.

未關閉 適合新手
#3,815 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:platform-windows
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

When outputting debug logs, the folder location is missing a `\`. This will result an error if you try and copy/paste this path into Windows Explorer.

Image

Image

### Affected version

1.0.62

### Steps to reproduce the behavior

1. type `/collect-debug-logs file` in the command box of copilot.
2. Press Enter and select a chat you want to export.
3. Wait until you get the message that the "Debug logs saved to:"
4. Copy and paste that path into file explorer, you will receive a "C:\users\.copilot\ is unavailable" error message.

### Expected behavior

I can copy the path from copilot cli output into Windows Explorer or Run dialog box and the file/directory opens.

### Additional context

OS: Windows 11 25H2
Terminal: Windows Terminal 1.24.11321.0
Copilot CLI: 1.0.62

貢獻指南

開啟貢獻指南

研究方向

從命令進入點 `/collect-debug-logs file` 開始,追蹤 Windows 路徑為 `Debug logs saved to:` 訊息進行格式化的位置。在 Windows 上重現該命令,然後驗證將回報的路徑複製到檔案總管或「執行」對話方塊中可以開啟匯出的日誌。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli, operating-systems
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。