mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
Code quality improvment to simplify test QL
This commit is contained in:
@@ -5,7 +5,7 @@ private string getArgument(Compilation c, int i) {
|
|||||||
if exists(arg.indexOf("-Xplugin="))
|
if exists(arg.indexOf("-Xplugin="))
|
||||||
then result = "<PLUGINS>"
|
then result = "<PLUGINS>"
|
||||||
else
|
else
|
||||||
if exists(string arg0 | arg0 = c.getArgument(i - 1) | arg0 = ["-classpath", "-jdk-home"])
|
if c.getArgument(i - 1) = ["-classpath", "-jdk-home"]
|
||||||
then result = "<PATH>"
|
then result = "<PATH>"
|
||||||
else result = arg
|
else result = arg
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user