github / github/codeql

Database Analyze of Multi-language codebase fails

Aperta
#6,383 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

**Database Analyze of Multi-language codebase fails**

I created a database for a multi-language codebase using the following command: `codeql database create java-js-db --language="java,javascript" --db-cluster --command="mvn install -DskipTests -DskipITs" --no-run-unnecessary-builds`
Database creation was successful.

When I attempt to analyze the resulting database, I get the following error: `A fatal error occurred: /Users/xxxx/Projects/xxxx/java-js-db is not a recognized CodeQL database.`

I'm using the following command for analysis: `codeql database analyze java-js-db java-code-scanning.qls javascript-code-scanning.qls --format=sarif-latest --output=java-js-result.sarif`

Is this a bug, or did I miss a parameter?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.