github / github/codeql-cli-binaries

codeql database create ignore minified files

Đang mở
#75 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
CLI
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
1k
Fork
184
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.