From 9d6bce467c87d8f209bee6b346e96da088fbc409 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Wed, 31 May 2023 17:33:23 +0300 Subject: [PATCH] _scripts: fix typos (#3402) --- _scripts/gen-travis.go | 2 +- _scripts/make.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_scripts/gen-travis.go b/_scripts/gen-travis.go index a6028c92ec..cd9d454341 100644 --- a/_scripts/gen-travis.go +++ b/_scripts/gen-travis.go @@ -26,7 +26,7 @@ var minVersion = goVersion{Major: goversion.MinSupportedVersionOfGoMajor, Minor: func (v goVersion) dec() goVersion { v.Minor-- if v.Minor < 0 { - panic("TODO: fill the maximum minor version number for v.Maxjor here") + panic("TODO: fill the maximum minor version number for v.Major here") } return v } diff --git a/_scripts/make.go b/_scripts/make.go index 3b2fc299bf..eef24266b1 100644 --- a/_scripts/make.go +++ b/_scripts/make.go @@ -144,7 +144,7 @@ func checkCert() bool { return false } if err != nil { - fmt.Printf("An error occoured when generating and installing a new certificate: %v\n", err) + fmt.Printf("An error occurred when generating and installing a new certificate: %v\n", err) return false } os.Setenv("CERT", "dlv-cert")