pulumi/sdk/nodejs/cmd/pulumi-language-nodejs
Julien 8db3d6dbd9
Fix lookup for pulumi run script when using Volta to manage nodejs (#16649)
We run a short script with nodejs to find the path to the nodejs SDK
entrypoint. In https://github.com/pulumi/pulumi/pull/16160 this script
was changed and used newlines.

This broke when using the Volta package manager to manage different
nodejs versions. Volta adds shim programs into the user's path that
routes to the correct nodejs executable. Seemingly Volta does not handle
the newlines in the arguments.

To fix this, we ensure that the script is on a single line.

Fixes https://github.com/pulumi/pulumi/issues/16393
2024-07-12 15:31:43 +00:00
..
testdata Add conformance tests for remote assets (#16467) 2024-07-03 09:03:24 +00:00
go.mod Changelog and go.mod updates for v3.124.0 (#16650) 2024-07-12 14:57:28 +00:00
go.sum Bump the go_modules group across 2 directories with 1 update (#16464) 2024-06-28 22:17:40 +00:00
language_test.go Fix race in language conformance tests Log method (#16227) 2024-05-19 17:41:42 +00:00
main.go Fix lookup for pulumi run script when using Volta to manage nodejs (#16649) 2024-07-12 15:31:43 +00:00
main_test.go Don't count plugins from a nested policy pack in GetRequiredPlugins (#16632) 2024-07-11 16:01:31 +00:00
proxy.go implement engine support for invoke transforms (#16559) 2024-07-11 16:01:44 +00:00
proxy_unix.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
proxy_windows.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00