Skip to content
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

TRAP Caching: Be tolerant to not finding the extractor #1234

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

edoardopirovano
Copy link
Contributor

@edoardopirovano edoardopirovano commented Sep 5, 2022

See also github/codeql#10292

In some internal use-cases where we hack in an extra extractor by adding a --search-path to various CLI calls, we may not actually find it in this CLI call if the --search-path hasn't been added in. Since TRAP caching is non-essential, let's be tolerant here and just skip languages whose extractor we fail to find.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@edoardopirovano edoardopirovano requested a review from a team as a code owner September 5, 2022 09:21
src/trap-caching.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants