aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/sonarsource/scanner/cli/Main.java
diff options
context:
space:
mode:
authormickael-caro-sonarsource <mickael.caro@sonarsource.com>2020-06-22 13:27:00 +0200
committerGitHub <noreply@github.com>2020-06-22 13:27:00 +0200
commit38398d7c11f3ef6866d834017e4b2d2c1c6409b7 (patch)
treee2ce87af64650d888233bec4130fd2214a8f4192 /src/main/java/org/sonarsource/scanner/cli/Main.java
parent90a36e384448c3f3b419ddfbab3071e00392d267 (diff)
downloadsonar-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.java2
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) {