Skip to content

Commit

Permalink
Merge pull request #3 from astralkn/refactoring
Browse files Browse the repository at this point in the history
Fixed unauth post bug
  • Loading branch information
astralkn authored Apr 2, 2020
2 parents 371df02 + eedaff8 commit aab0960
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 aab0960

Please sign in to comment.