mirror of https://github.com/pulumi/pulumi.git
ae13d3c84a
The implementation of `pulumi stack output` prints everything to a global `io.Writer`. This makes testing its output a bit hacky and unparalellizable because we have to hijack `os.Stdout` to capture the output. This changes it the command implementation and all the functions it relies on to accept an `io.Writer` as an argument. This allows us to delete the os.Stdout hijacking hack that was introduced in #11952, and have those tests run in parallel, writing to an in-memory buffer. |
||
---|---|---|
.. | ||
args.go | ||
child.go | ||
child_windows.go | ||
console.go | ||
console_password.go | ||
console_test.go | ||
diag.go | ||
exit.go | ||
profile.go | ||
spinner.go | ||
trace.go |