Skip to content

Commit 537222c

Browse files
chore: add additional env vars to default pass through (#8359)
### Description Add some more defaults ### Testing Instructions 👀
1 parent 6bf2200 commit 537222c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

crates/turborepo-lib/src/task_hash.rs

+9
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,17 @@ impl<'a> TaskHasher<'a> {
464464
let mut pass_through_env = EnvironmentVariableMap::default();
465465
let default_env_var_pass_through_map =
466466
self.env_at_execution_start.from_wildcards(&[
467+
"HOME",
468+
"TZ",
469+
"LANG",
467470
"SHELL",
471+
"PWD",
468472
"NODE_OPTIONS",
473+
// Vercel specific
474+
"VERCEL_*",
475+
"NEXT_*",
476+
"USE_OUTPUT_FOR_EDGE_FUNCTIONS",
477+
"NOW_BUILDER",
469478
// Command Prompt casing of env variables
470479
"APPDATA",
471480
"PATH",

0 commit comments

Comments
 (0)