Commit 8d7fb4a
Allowing search_code tool's project parameter to accept single string as input (#1126)
The change makes the project parameter accept either a single string or
an array of strings. When a single string is provided, it's
automatically transformed into a one-element array.
## GitHub issue number
1038
## **Associated Risks**
None
## ✅ **PR Checklist**
- [X] **I have read the [contribution
guidelines](https://github.com/microsoft/azure-devops-mcp/blob/main/CONTRIBUTING.md)**
- [X] **I have read the [code of conduct
guidelines](https://github.com/microsoft/azure-devops-mcp/blob/main/CODE_OF_CONDUCT.md)**
- [X] Title of the pull request is clear and informative.
- [X] 👌 Code hygiene
- [N/A] 🔭 Telemetry added, updated, or N/A
- [N/A] 📄 Documentation added, updated, or N/A
- [X] 🛡️ Automated tests added, or N/A
## 🧪 **How did you test it?**
Added unit tests for testing
Performed Manual Testing on the modified tools:
Ex:
<img width="1757" height="1198" alt="image"
src="https://github.com/user-attachments/assets/665ed735-b3dc-4864-a05c-ade214ad6df9"
/>
---------
Co-authored-by: Krishna Prasath D <krid@microsoft.com>
Co-authored-by: Dan Hellem <dahellem@microsoft.com>1 parent 7e62f08 commit 8d7fb4a
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
0 commit comments