Debug logs saved to location is missing a `\`.
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
### 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.
### 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
Contributor guide
Research direction
Start at the `/collect-debug-logs file` command entry point and trace where the Windows path is formatted for the `Debug logs saved to:` message. Reproduce the command on Windows, then verify that copying the reported path into File Explorer or the Run dialog opens the exported logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100