Skip to content

Commit

Permalink
Make junitOutput public
Browse files Browse the repository at this point in the history
Signed-off-by: Lukianov Artyom <alukiano@redhat.com>
  • Loading branch information
Lukianov Artyom committed Apr 11, 2018
1 parent 03d1dd2 commit 5891aed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ginkgo-reporters/junit_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ import (
"github.com/onsi/ginkgo/reporters"
)

var junitOutput = ""
var JunitOutput = ""

func init() {
flag.StringVar(&junitOutput, "junit-output", "", "Set path to Junit report.")
flag.StringVar(&JunitOutput, "junit-output", "", "Set path to Junit report.")
}

func NewJunitReporter() *reporters.JUnitReporter {
return reporters.NewJUnitReporter(junitOutput)
return reporters.NewJUnitReporter(JunitOutput)
}

0 comments on commit 5891aed

Please sign in to comment.