From a5529938536f7a530f0c55e5a82b16a4c80af5b4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 10 Dec 2024 22:01:27 +0200 Subject: fix --- internal/config/args.go | 2 +- internal/config/secrets.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/config') diff --git a/internal/config/args.go b/internal/config/args.go index 4438189..4d98118 100644 --- a/internal/config/args.go +++ b/internal/config/args.go @@ -40,7 +40,7 @@ func (a *Args) ParsePlatforms(platformStrs string) error { return err } } else { - colour.Infoln("No message length specified for", platformStr, "so assuming 500") + _, _ = colour.Infoln("No message length specified for", platformStr, "so assuming 500") a.Platforms[platformStr] = 500 } } diff --git a/internal/config/secrets.go b/internal/config/secrets.go index 338d17a..28c3515 100644 --- a/internal/config/secrets.go +++ b/internal/config/secrets.go @@ -43,7 +43,7 @@ func NewSecrets(configPath string) (Secrets, error) { } func (s Secrets) WriteToDisk(configPath string) error { - colour.Infoln("Writing", configPath) + _, _ = colour.Infoln("Writing", configPath) bytes, err := json.MarshalIndent(s, "", " ") if err != nil { -- cgit v1.2.3