's'
This commit is contained in:
@@ -155,6 +155,7 @@ def _runtime_env(runtime: NodeRuntime, extra: dict[str, str] | None = None) -> d
|
||||
path = env.get("PATH", "")
|
||||
node_dir = str(runtime.node.parent)
|
||||
env["PATH"] = f"{node_dir}{os.pathsep}{path}" if path else node_dir
|
||||
env.setdefault("NEXT_TELEMETRY_DISABLED", "1")
|
||||
if runtime.npm is not None:
|
||||
env["npm_config_script_shell"] = env.get("npm_config_script_shell", "/bin/sh")
|
||||
if extra:
|
||||
|
||||
Reference in New Issue
Block a user