From e28d450ac174d25c37d5dd76b27dfc8cf651ddf6 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 11:03:40 +0000 Subject: [PATCH] style: format code with Gofumpt and Prettier This commit fixes the style issues introduced in db0c28f 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 8f6986da5d6..a633ff0d41c 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()