From 905e733a3aec46ff89358b49456da78199a8ed7d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 13 Nov 2024 22:53:18 +0200 Subject: some --- internal/platforms/mastodon/mastodon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/platforms/mastodon') diff --git a/internal/platforms/mastodon/mastodon.go b/internal/platforms/mastodon/mastodon.go index 186623a..e639b47 100644 --- a/internal/platforms/mastodon/mastodon.go +++ b/internal/platforms/mastodon/mastodon.go @@ -31,7 +31,7 @@ func Post(ctx context.Context, args config.Args, sizeLimit int, en entry.Entry) colour.Infoln("Not posting", en, "to Mastodon as dry-run enabled") return nil } - if content, err = prompt.FileAction("Do you want to post this message to Mastodon?", content, en.Path); err != nil { + if _, err = prompt.FileAction("Do you want to post this message to Mastodon?", content, en.Path); err != nil { return err } -- cgit v1.2.3