8000 Add extra type check in `findFiles2` by mjbvz · Pull Request #235692 · microsoft/vscode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add extra type check in findFiles2 #235692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Conversation

mjbvz
Copy link
Collaborator
@mjbvz mjbvz commented Dec 10, 2024

For microsoft/vscode-copilot-release#2493

Looking at the code I'm still not sure how this can happen but it seems like we end up trying to call .map on a value that is not an array. Adding a more explicit exception here to hopefully track this down

For microsoft/vscode-copilot-release#2493

Looking at the code I'm still not sure how this can happen but it seems like we end up trying to call `.map` on a value that is not an array. Adding a more explicit exception here to hopefully track this down
@mjbvz mjbvz added this to the January 2025 milestone Dec 10, 2024
@mjbvz mjbvz self-assigned this Dec 10, 2024
@mjbvz mjbvz enabled auto-merge (squash) December 10, 2024 03:23
justschen
justschen previously approved these changes Dec 10, 2024
@justschen
Copy link
Collaborator

@mjbvz looks like some unit tests failed (same test in linux and windows)

@mjbvz mjbvz merged commit 75e8699 into microsoft:main Dec 10, 2024
7 checks passed
mjbvz added a commit to mjbvz/vscode that referenced this pull request Dec 16, 2024
For microsoft/vscode-copilot-release#2493

Looking at the code I'm still not sure how this can happen but it seems like we end up trying to call `.map` on a value that is not an array. Adding a more explicit exception here to hopefully track this down
mjbvz added a commit that referenced this pull request Dec 17, 2024
Add extra type check in `findFiles2` (#235692)
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jan 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0