diff --git a/hack/cspell/main.go b/hack/cspell/main.go index 631654dd65c..d9042b803a8 100644 --- a/hack/cspell/main.go +++ b/hack/cspell/main.go @@ -17,11 +17,11 @@ type Override struct { } type CspellConfig struct { - Import []string `json:"import"` - IgnorePaths []string `json:"ignorePaths"` - IgnoreWords []string `json:"ignoreWords,omitempty"` - IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"` - Overrides []Override `json:"overrides"` + Import []string `json:"import"` + IgnorePaths []string `json:"ignorePaths"` + IgnoreWords []string `json:"ignoreWords,omitempty"` + IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"` + Overrides []Override `json:"overrides"` } func main() { @@ -108,8 +108,8 @@ func main() { file, err := os.Open(cspellOutputFile) if err != nil { - fmt.Printf("Error opening cspell output file: %v\n", err) - os.Exit(1) + fmt.Printf("Error opening cspell output file: %v\n", err) + os.Exit(1) } defer file.Close()