github / github/codeql-cli-binaries
codeql database create ignore minified files
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 1k
- Forks
- 184
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
## 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.
Guia de contribuição
Direção de pesquisa
Reproduce the issue with the listed codeql database create commands, comparing extraction of foo.js and foo.min.js. Trace the JavaScript extraction path responsible for filename handling and confirm the fix by verifying that files with multiple dots are included in the resulting database.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- cli, devtools
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 45/100