diff --git a/plugin.go b/plugin.go index 4e7aecc..50bb78c 100755 --- a/plugin.go +++ b/plugin.go @@ -53,7 +53,7 @@ func (p Plugin) Exec() error { cmd := exec.Command("sonar-scanner", args...) // fmt.Printf("==> Executing: %s\n", strings.Join(cmd.Args, " ")) cmd.Stdout = os.Stdout - cmd.Stderr = os.Stdout + cmd.Stderr = os.Stderr fmt.Printf("==> Code Analysis Result:\n") err := cmd.Run() if err != nil {