github / github/codeql-cli-binaries

codeql database create ignore minified files

未關閉
#75 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
CLI
主要語言
沒有語言資料
星號
1k
分支
184
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。