Skip to content

Commit

Permalink
Attempt to fix arcane bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wenovus committed Jun 20, 2020
1 parent 82cc00c commit e8f950e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd_gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ func main() {
log.Fatalf("modelDirName and validator can only be specified for local cmd generation")
}

prNumber = 0
if prNumberStr != "" {
var err error
if prNumber, err = strconv.Atoi(prNumberStr); err != nil {
Expand Down
1 change: 1 addition & 0 deletions post_results/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,7 @@ func main() {
if commitSHA == "" {
log.Fatalf("no commit SHA")
}
prNumber = 0
if prNumberStr != "" {
var err error
if prNumber, err = strconv.Atoi(prNumberStr); err != nil {
Expand Down

0 comments on commit e8f950e

Please sign in to comment.