mirror of https://github.com/pulumi/pulumi.git
a0cf415179
* 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 |
||
---|---|---|
.. | ||
index.js |