pulumi/sdk/nodejs/cmd
Sean Gillespie a0cf415179
Fix an issue with NodeJS host logging (#1819)
* Fix an issue with NodeJS host logging

Related to pulumi/pulumi#1694. This issue prevented the language host
from being aware that an engine (logging endpoint) was available and
thus no log messages were sent to the engine. By default, the language
host wrote them to standard out instead, which resulted in a pretty bad
error experience.

This commit fixes the PR and adds machinery to the NodeJS langhost tests
for testing the engine RPC endpoint. It is now possible to give a "log"
function to tests which will be hooked up to the "log" RPC endpoint
normally provided by the Pulumi engine.

* Remove accidental console.log
2018-08-24 16:50:09 -07:00
..
dynamic-provider Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
pulumi-language-nodejs Do not make errors during plugin discovery fatal 2018-08-20 15:39:39 -07:00
run Fix an issue with NodeJS host logging (#1819) 2018-08-24 16:50:09 -07:00