-
Notifications
You must be signed in to change notification settings - Fork 158
Open
Labels
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
- Create a directory called test
- Create a file named foo.js inside the newly created directory
- Navigate to the directory and run the following command:
codeql database create ../foo-db --language=javascript - Verify the foo.js is extracted
- Rename the foo.js to foo.min.js
- Run the following command:
codeql database create ../foo-min-db --language=javascript - 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.