Skip to content

Commit

Permalink
remove os.Exit
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
  • Loading branch information
frouioui committed Jun 13, 2023
1 parent 6df44eb commit 62ad1cb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions go/tools/release-notes/release_notes.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,6 @@ func main() {
pflag.IntVar(&numberOfThreads, "threads", numberOfThreads, "Define the number of threads used to fetch data from GitHub's API. Lower this number if you hit request limit errors.")
pflag.Parse()

log.Println(numberOfThreads)
os.Exit(1)
// The -version flag must be of a valid format.
rx := regexp.MustCompile(`v([0-9]+)\.([0-9]+)\.([0-9]+)`)
// There should be 4 sub-matches, input: "v14.0.0", output: ["v14.0.0", "14", "0", "0"].
Expand Down

0 comments on commit 62ad1cb

Please sign in to comment.