mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-11110: Fixes CLI error message. (#9062)
This commit is contained in:
committed by
Carlos Tadeu Panato Junior
parent
a840fc285b
commit
8a02121767
@@ -339,7 +339,7 @@ func moveChannelsCmdF(command *cobra.Command, args []string) error {
|
||||
channels := getChannelsFromChannelArgs(a, args[1:])
|
||||
for i, channel := range channels {
|
||||
if channel == nil {
|
||||
CommandPrintErrorln("Unable to find channel '" + args[i] + "'")
|
||||
CommandPrintErrorln("Unable to find channel '" + args[i+1] + "'")
|
||||
continue
|
||||
}
|
||||
originTeamID := channel.TeamId
|
||||
|
||||
Reference in New Issue
Block a user