github / github/copilot-cli

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

Ouverte Adaptée aux débutants
#3,815 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:platform-windows
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
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.

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
cli, operating-systems
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
68/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.