From 349a11557834ab48c4f44d5608b05a9d627d9369 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 12:26:46 +0000 Subject: [PATCH] style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in 3722873 according to the output from Gofumpt and Prettier. Details: https://github.com/vdaas/vald/pull/2579 --- hack/cspell/main.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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()