Skip to content

Commit

Permalink
Fixed unauth post bug
Browse files Browse the repository at this point in the history
  • Loading branch information
IstrateM committed Apr 2, 2020
1 parent f87b3b6 commit eedaff8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ func main() {
log.Printf("gotestmng version %s\n", version)
os.Exit(0)
}
log.Println(opts)
if opts.Post == true {
if opts.GitUnAuth == true {
log.Println(os.Args)
log.Error("can not post issues without authentication")
os.Exit(1)
}
Expand Down

0 comments on commit eedaff8

Please sign in to comment.