Commit d13ba8c5 authored by George Goldberg's avatar George Goldberg Committed by Corey Hulen
Browse files

Flush log and exit after CLI Slack Import. (#4286)

Some log messages were previously being lost at the very end of the
Slack import via CLI process, due to not flushing the logs after
completing.
parent 319ae6b3
......@@ -1473,6 +1473,8 @@ func cmdSlackImport() {
fmt.Fprintln(os.Stdout, "Running Slack Import. This may take a long time for large teams or teams with many messages.")
api.SlackImport(fileReader, fileInfo.Size(), team.Id)
flushLogAndExit(0)
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment