Skip to content

Commit 16836de

Browse files
committed
Code quality improvment to simplify test QL
1 parent a68b61f commit 16836de

File tree

1 file changed

+1
-1
lines changed
  • java/ql/integration-tests/posix-only/kotlin/compiler_arguments

1 file changed

+1
-1
lines changed

java/ql/integration-tests/posix-only/kotlin/compiler_arguments/compArgs.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ private string getArgument(Compilation c, int i) {
55
if exists(arg.indexOf("-Xplugin="))
66
then result = "<PLUGINS>"
77
else
8-
if exists(string arg0 | arg0 = c.getArgument(i - 1) | arg0 = ["-classpath", "-jdk-home"])
8+
if c.getArgument(i - 1) = ["-classpath", "-jdk-home"]
99
then result = "<PATH>"
1010
else result = arg
1111
)

0 commit comments

Comments
 (0)