From b82c8c86d9b236fd34230f20f1bbede3d0c9565c Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Fri, 16 Aug 2024 17:31:08 +0100 Subject: [PATCH] update messages --- internal/executor/delete.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/executor/delete.go b/internal/executor/delete.go index 7de803f..8bfe8a9 100644 --- a/internal/executor/delete.go +++ b/internal/executor/delete.go @@ -62,7 +62,7 @@ func (d *DeleteExecutor) deleteStatus(gtsClient *client.Client) error { } if status.Account.ID != myAccountID { - return errors.New("unable to delete the status because you are not the owner") + return errors.New("unable to delete the status because the status does not belong to you") } text, err := gtsClient.DeleteStatus(d.statusID) @@ -91,7 +91,7 @@ func (d *DeleteExecutor) deleteStatus(gtsClient *client.Client) error { return fmt.Errorf("unable to save the text to %q: %w", path, err) } - d.printer.PrintSuccess("The status' text was successfully written to '" + path + "'.") + d.printer.PrintSuccess("The text was successfully saved to '" + path + "'.") } return nil