github / github/codeql-cli-binaries

codeql database create ignore minified files

Open
#75 5 comments 0 reactions 0 assignees View on GitHub
CLI
Dominant language
No language data
Stars
1k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

## Description

When ```codeql database create``` is used on a code-base containing files whose names contain multiple dots (.) the files are ignored by the extractors.

## Steps to reproduce
1. Create a directory called **test**
2. Create a file named **foo.js** inside the newly created directory
3. Navigate to the directory and run the following command: ```codeql database create ../foo-db --language=javascript```
4. Verify the **foo.js** is extracted
5. Rename the **foo.js** to **foo.min.js**
6. Run the following command: ```codeql database create ../foo-min-db --language=javascript```
7. Verify the **foo.js** is **NOT** extracted

## Expected behavior
When using codeql to assess production JavaScript code, minified files should be included in the database.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.