aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorMichal Duda <44705056+michal-duda-sonarsource@users.noreply.github.com>2019-01-08 12:14:26 +0100
committerGitHub <noreply@github.com>2019-01-08 12:14:26 +0100
commitb600d744553080a8245988c5c07ebdf9701d8e53 (patch)
tree352c0cff959c44473e51827294adc400a962ad9d /src/main
parent260bd2ffa46f576b2e617f2c3df2c07c1437ffc3 (diff)
downloadsonar-scanner-cli-b600d744553080a8245988c5c07ebdf9701d8e53.tar.gz
sonar-scanner-cli-b600d744553080a8245988c5c07ebdf9701d8e53.zip
SQSCANNER-54 don't print warnings to stderr (#57)
Redirect warnings to stdout instead of stderr.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Logs.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/sonarsource/scanner/cli/Logs.java b/src/main/java/org/sonarsource/scanner/cli/Logs.java
index 87794d6..a5cbcc8 100644
--- a/src/main/java/org/sonarsource/scanner/cli/Logs.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Logs.java
@@ -56,7 +56,7 @@ public class Logs {
}
public void warn(String message) {
- print(stdErr, "WARN: " + message);
+ print(stdOut, "WARN: " + message);
}
public void error(String message) {