diff options
author | mickael-caro-sonarsource <mickael.caro@sonarsource.com> | 2020-06-22 13:27:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 13:27:00 +0200 |
commit | 38398d7c11f3ef6866d834017e4b2d2c1c6409b7 (patch) | |
tree | e2ce87af64650d888233bec4130fd2214a8f4192 /src/main/java/org/sonarsource/scanner/cli/Main.java | |
parent | 90a36e384448c3f3b419ddfbab3071e00392d267 (diff) | |
download | sonar-scanner-cli-38398d7c11f3ef6866d834017e4b2d2c1c6409b7.tar.gz sonar-scanner-cli-38398d7c11f3ef6866d834017e4b2d2c1c6409b7.zip |
SQSCANNER-65 Add a new flag to get the Scanner that invoked the CLI a… (#84)
* SQSCANNER-65 Add a new flag to get the Scanner that invoked the CLI and its version from the invocation commandLine
Diffstat (limited to 'src/main/java/org/sonarsource/scanner/cli/Main.java')
-rw-r--r-- | src/main/java/org/sonarsource/scanner/cli/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/sonarsource/scanner/cli/Main.java b/src/main/java/org/sonarsource/scanner/cli/Main.java index 37e6748..56f34ac 100644 --- a/src/main/java/org/sonarsource/scanner/cli/Main.java +++ b/src/main/java/org/sonarsource/scanner/cli/Main.java @@ -97,7 +97,7 @@ public class Main { exit.exit(Exit.SUCCESS); } - runner = runnerFactory.create(p); + runner = runnerFactory.create(p, cli.getInvokedFrom()); } private void configureLogging(Properties props) { |