Skip to content

codeql database create ignore minified files #75

@bananabr

Description

@bananabr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions