github / github/codeql

Java: Malformed semmle-extractor-options does not log any information

オープン
#5,647 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
acknowledged question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

### Version
CodeQL CLI 2.5.0

### Description of the issue
When running a CodeQL query test with an `options` file containing `semmle-extractor-options` with invalid arguments, the extraction fails but the log files contain no information.
Only when using `--show-extractor-output` (which the VSCode extension is not, and should probably not by default) the error is displayed.

Expected: The log files in `.testproj` should contain information about the error.

### Reproduction steps
1. Create a query test file and a Java source file (content does not matter)
2. Create an `options` file containing:
```
//semmle-extractor-options: someinvalidarg
```
3. Run `codeql test run`
4. Have a look at the `log/javac-extractor-....log` file
:x: It does not contain any information about the error

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。