chore: fix linter (#11028)
This commit is contained in:
parent
098a0fc2b5
commit
58e2421a5b
91 changed files with 374 additions and 280 deletions
|
|
@ -67,7 +67,7 @@ func process(filepath string) error {
|
|||
fmt.Fprintln(out, sc.Text())
|
||||
}
|
||||
|
||||
if err := os.WriteFile(filepath, []byte(out.String()), 0644); err != nil {
|
||||
if err := os.WriteFile(filepath, []byte(out.String()), 0o644); err != nil {
|
||||
return fmt.Errorf("%s: %v", filepath, err)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue