Run make lint

This commit is contained in:
Pieter Noordhuis 2024-12-17 11:48:09 +01:00
parent 8a33fb3e95
commit 6bc9664399
No known key found for this signature in database
GPG Key ID: 12ACCCC104CF2930
1 changed files with 1 additions and 2 deletions

View File

@ -139,7 +139,6 @@ func (p *openapiParser) extractAnnotations(typ reflect.Type, outputPath, overrid
return s
},
})
if err != nil {
return err
}
@ -161,7 +160,7 @@ func (p *openapiParser) extractAnnotations(typ reflect.Type, outputPath, overrid
return err
}
b = bytes.Join([][]byte{[]byte("# This file is auto-generated. DO NOT EDIT."), b}, []byte("\n"))
err = os.WriteFile(outputPath, b, 0644)
err = os.WriteFile(outputPath, b, 0o644)
if err != nil {
return err
}