mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
print logs to stderr instead of stdout
also, don't print up-to-date status when the --silent flag was given closes #68
This commit is contained in:
@@ -189,7 +189,7 @@ func (e *Executor) handleShVar(v Var) (string, error) {
|
||||
result := strings.TrimSuffix(stdout.String(), "\n")
|
||||
|
||||
e.dynamicCache[v.Sh] = result
|
||||
e.verbosePrintfln(`task: dynamic variable: '%s' result: '%s'`, v.Sh, result)
|
||||
e.verboseErrf(`task: dynamic variable: '%s' result: '%s'`, v.Sh, result)
|
||||
|
||||
return result, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user