From ccec921bd72089c9651f89aec648e063f648b34a Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Thu, 20 Jun 2019 22:35:43 -0400 Subject: [PATCH] Show "publishing..." statuses before publishing instead of after. --- commands/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/commands.go b/commands/commands.go index 251495a..3fb6f49 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -14,13 +14,13 @@ import ( ) func CmdPost(c *cli.Context) error { - _, err := api.DoPost(c, api.ReadStdIn(), c.String("font"), false, c.Bool("code")) if config.IsTor(c) { log.Info(c, "Publishing via hidden service...") } else { log.Info(c, "Publishing...") } + _, err := api.DoPost(c, api.ReadStdIn(), c.String("font"), false, c.Bool("code")) return err }