From 54d4b11f56579d6e92e760b9fc33c57c5468beb0 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:51:57 +0000 Subject: [PATCH] style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in c473857 according to the output from Gofumpt and Prettier. Details: https://github.com/vdaas/vald/pull/2579 --- hack/cspell/main.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hack/cspell/main.go b/hack/cspell/main.go index 54f84bcae4b..8f8505976f5 100644 --- a/hack/cspell/main.go +++ b/hack/cspell/main.go @@ -17,10 +17,10 @@ type Override struct { } type CspellConfig struct { - Import []string `json:"import"` - IgnorePaths []string `json:"ignorePaths"` - IgnoreWords []string `json:"ignoreWords,omitempty"` - IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"` + Import []string `json:"import"` + IgnorePaths []string `json:"ignorePaths"` + IgnoreWords []string `json:"ignoreWords,omitempty"` + IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"` Overrides []Override `json:"overrides"` } @@ -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()