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.
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
319ae6b38c
Коммит
d13ba8c55c
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user