pulumi/sdk/nodejs/cmd/pulumi-language-nodejs
Matt Ellis 91827752d5 Use `require.resolve` to find `@pulumi/pulumi/cmd/run`
Instead of trying to probe for the normal path ourselves, just use
node's `require.resolve` statement to find `@pulumi/pulumi/cmd/run`.

This allows run to be found in cases where either yarn workspaces are
used, or the module has been installed globally.

Part of #1868
2018-09-07 11:30:54 -07:00
..
main.go Use `require.resolve` to find `@pulumi/pulumi/cmd/run` 2018-09-07 11:30:54 -07:00
main_test.go Add license headers 2018-05-22 15:02:47 -07:00