mirror of
https://github.com/coder/coder.git
synced 2026-10-16 14:48:56 +08:00
chore: print logs to stderr, not stdout
This commit is contained in:
@@ -290,7 +290,7 @@ func (r *RootCmd) taskCreate() *serpent.Command {
|
||||
|
||||
case agentLogChunk := <-agentLogs:
|
||||
for _, agentLog := range agentLogChunk {
|
||||
fmt.Fprintln(inv.Stdout, agentLog.Output)
|
||||
fmt.Fprintln(inv.Stderr, agentLog.Output)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user