Skip to content

Commit 7add5b9

Browse files
author
mritd
committed
fix(git-check): fix no output when git repo check failed
fix no output when git repo check failed Signed-off-by: mritd <[email protected]>
1 parent fc4dc62 commit 7add5b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/util/common.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ func MustExecRtOut(name string, arg ...string) string {
9999

100100
func MustExecNoOut(name string, arg ...string) {
101101
cmd := exec.Command(name, arg...)
102+
cmd.Stderr = os.Stderr
102103
CheckAndExit(cmd.Run())
103104
}
104105

0 commit comments

Comments
 (0)