| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Only the betterjson option is now used, so remove the old version.
There was a problem hiding this comment.
This PR cleans up the CodeQL CLI language-resolution API by removing the legacy betterResolveLanguages method and standardizing on a single resolveLanguages implementation that uses the --format=betterjson output.
Changes:
| File | Description |
|---|---|
| src/workflow.ts | Switch language alias resolution to call codeql.resolveLanguages(). |
| src/workflow.test.ts | Update stubbing to match the renamed resolveLanguages() API. |
| src/trap-caching.ts | Use resolveLanguages() to query extractor metadata for TRAP caching support. |
| src/trap-caching.test.ts | Update stubbed CodeQL implementation to provide resolveLanguages(). |
| src/config-utils.ts | Use resolveLanguages({ filterToLanguagesWithQueries }) for supported language detection. |
| src/config-utils.test.ts | Update stub implementations and expectations for resolveLanguages() output. |
| src/codeql.ts | Remove the old JSON resolveLanguages method and rename betterjson variant to resolveLanguages. |
| lib/entry-points.js | Generated output updated to reflect the TypeScript changes (not reviewed). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Only the betterjson option is now used, so remove the old version.
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
Workflow types:
Products:
Environments:
How did/will you validate this change?
If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist