From fb6725c11a01ac6da64ff9c448e9ee405e16b485 Mon Sep 17 00:00:00 2001 From: Levi Durfee Date: Wed, 7 Jan 2026 14:09:15 -0500 Subject: Add more linters --- cmd/goaes/commands/decrypt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/goaes/commands/decrypt.go') diff --git a/cmd/goaes/commands/decrypt.go b/cmd/goaes/commands/decrypt.go index 8f73c42..1912c1a 100644 --- a/cmd/goaes/commands/decrypt.go +++ b/cmd/goaes/commands/decrypt.go @@ -39,7 +39,7 @@ func Decrypt(ctx context.Context, cmd *cli.Command) error { return err } - err = os.WriteFile(destination, plaintext, 0666) + err = os.WriteFile(destination, plaintext, fileMode) if err != nil { return err } -- cgit v1.2.3