pulumi/pkg
joeduffy 53e7bfbb86 Rearrange the way stderr/stdout is handled for plugins
The order of operations for stderr/stdout monitoring with plugins
managed to hide some important errors.  For example, if something
was written to stderr *before* the port was parsed from stdout, a
very possible scenario if the plugin fails before it has even
properly sarted, then we would silently drop the stderr on the floor
leaving behind no indication of what went wrong.  The new ordering
ensures that stderr is never ignored with some minor improvements
in the case that part of the port is parsed from stdout but it
ultimately ends in an error (e.g., if an EOF occurs prematurely).
2017-04-19 15:01:04 -07:00
..
compiler Use github.com/pkg/errors for errors 2017-04-19 14:46:50 -07:00
diag Add optional formatting to the diag.Message API 2017-03-15 12:16:56 -07:00
encoding Switch to imports as statements 2017-04-08 18:16:10 -07:00
eval Permit dynamic to appear in more places (like binops) 2017-04-12 10:55:33 -07:00
graph Use github.com/pkg/errors for errors 2017-04-19 14:46:50 -07:00
pack Use github.com/pkg/errors for errors 2017-04-19 14:46:50 -07:00
resource Rearrange the way stderr/stdout is handled for plugins 2017-04-19 15:01:04 -07:00
tokens Permit dashes in package names 2017-04-19 10:53:14 -07:00
util Use github.com/pkg/errors for errors 2017-04-19 14:46:50 -07:00
workspace Make major commands more pleasant 2017-03-21 19:23:32 -07:00