From c5e8cb25caa39ed018ede5270e1566e8f7448396 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 30 Oct 2017 11:57:24 -0500 Subject: simplify things (#7735) --- cmd/platform/command.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cmd') diff --git a/cmd/platform/command.go b/cmd/platform/command.go index 245fb7912..bbc5b47da 100644 --- a/cmd/platform/command.go +++ b/cmd/platform/command.go @@ -61,9 +61,5 @@ func moveCommandCmdF(cmd *cobra.Command, args []string) error { } func moveCommand(a *app.App, team *model.Team, command *model.Command) *model.AppError { - if err := a.MoveCommand(team, command); err != nil { - return err - } - - return nil + return a.MoveCommand(team, command) } -- cgit v1.2.3-1-g7c22