aws / aws/amazon-q-developer-cli

bug: q translate URL being converted to XXXX

Open
#1,980 1 comment 0 reactions 0 assignees View on GitHub
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

### Operating system

Linux 6.8.0-1029-aws - Ubuntu 24.04 LTS

### Expected behaviour

ubuntu@ip-10-0-1-167:~/git1$ q translate "git clone from https://github.com/yangxiaohu660/copilot-demo.git/"

Shell · git clone https://github.com/yangxiaohu660/copilot-demo.git/

❯ ⚡ Execute command
📝 Edit command
🔄 Regenerate answer
❓ Ask another question
❌ Cancel

whenI choose Execute command, Iget:

git clone https://github.com/yangxiaohu660/copilot-demo.git/ is executed

### Actual behaviour

ubuntu@ip-10-0-1-167:~/git1$ q translate "git clone from https://github.com/yangxiaohu660/copilot-demo.git/"

Shell · git clone XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

❯ ⚡ Execute command
📝 Edit command
🔄 Regenerate answer
❓ Ask another question
❌ Cancel

whenI choose Execute command, Iget:

fatal: repository 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' does not exist

### Steps to reproduce

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.