We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bc6dc9 commit 10c4c7fCopy full SHA for 10c4c7f
install.mjs
@@ -118,7 +118,7 @@ async function get_input_version() {
118
if (process.env.PROTOC_GEN_GRPC_WEB_VERSION)
119
return process.env.PROTOC_GEN_GRPC_WEB_VERSION;
120
121
- const pkg = await find_package(process.cwd());
+ const pkg = await find_package(process.env.INIT_CWD ?? process.cwd());
122
if (pkg?.config?.["protoc-gen-grpc-web-version"])
123
return pkg.config["protoc-gen-grpc-web-version"];
124
0 commit comments