Skip to content

Commit

Permalink
style: format code with Gofumpt and Prettier
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in c473857 according to the output
from Gofumpt and Prettier.

Details: #2579
  • Loading branch information
deepsource-autofix[bot] authored Aug 14, 2024
1 parent c473857 commit 54d4b11
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hack/cspell/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 54d4b11

Please sign in to comment.