mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: format Go more aggressively
This commit is contained in:
@ -152,7 +152,7 @@ func updateAuditDoc(doc []byte, auditableResourcesMap AuditableResourcesMap) ([]
|
||||
func writeAuditDoc(doc []byte) error {
|
||||
// G306: Expect WriteFile permissions to be 0600 or less
|
||||
/* #nosec G306 */
|
||||
return os.WriteFile(auditDocFile, doc, 0644)
|
||||
return os.WriteFile(auditDocFile, doc, 0o644)
|
||||
}
|
||||
|
||||
func sortKeys[T any](stringMap map[string]T) []string {
|
||||
|
Reference in New Issue
Block a user