aws / aws/amazon-q-developer-cli
bug: the leading slash in a path is stripped
Open
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
Linux
### Expected behaviour
Q prompts "Where do you want to write that file?"
I reply: "/tmp/"
Q creates the file in "/tmp/"
### Actual behaviour
Q prompts "Where do you want to write that file?"
I reply: "/tmp/"
Q creates the file in "$(pwd)/tmp/"
### Steps to reproduce
_No response_
### Environment
```yaml
```
Contributor guide
Assessment
This issue has not been assessed yet.