Skip to content

Conversation

@LeFrosch
Copy link
Collaborator

@LeFrosch LeFrosch commented Oct 6, 2025

This PR updates the cquery scripts to handle some edge cases.

Extracted from: #7834

@LeFrosch LeFrosch marked this pull request as ready for review October 6, 2025 10:53
@github-actions github-actions bot added the awaiting-review Awaiting review from Bazel team on PRs label Oct 6, 2025
buffer = "%s: " % target.label

if CC_INFO in providers(target):
if CC_INFO in (providers(target) or []):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in what case we can have providers(target) as None?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry idk, but in some cases it is and this keeps the cquery from failing

@LeFrosch LeFrosch merged commit 232d74c into bazelbuild:master Oct 9, 2025
7 checks passed
@LeFrosch LeFrosch deleted the pull/d7f60d4766cc7007de2c24f1e0f2ddcad0cf3adb branch October 9, 2025 15:43
@github-project-automation github-project-automation bot moved this from Untriaged to Done in Bazel IntelliJ Plugin Oct 9, 2025
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants