Skip to content

fix: exclude EJS templates from CodeQL extractor#1099

Closed
EugeniyKiyashko wants to merge 1 commit into
masterfrom
fix/codeql-extractor-exclude
Closed

fix: exclude EJS templates from CodeQL extractor#1099
EugeniyKiyashko wants to merge 1 commit into
masterfrom
fix/codeql-extractor-exclude

Conversation

@EugeniyKiyashko
Copy link
Copy Markdown
Contributor

The paths-ignore config only filters analysis results but the JavaScript extractor still tries to parse all .ts/.tsx files, producing 17 parse error warnings for EJS templates.

Adding LGTM_INDEX_FILTERS environment variable tells the extractor to completely skip the template files during database creation, eliminating the warnings at the source.

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.

1 participant