Skip to content

Commit

Permalink
chore: add additional env vars to default pass through (#8359)
Browse files Browse the repository at this point in the history
### Description

Add some more defaults

### Testing Instructions

👀
  • Loading branch information
chris-olszewski authored Jun 6, 2024
1 parent 6bf2200 commit 537222c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions crates/turborepo-lib/src/task_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,17 @@ impl<'a> TaskHasher<'a> {
let mut pass_through_env = EnvironmentVariableMap::default();
let default_env_var_pass_through_map =
self.env_at_execution_start.from_wildcards(&[
"HOME",
"TZ",
"LANG",
"SHELL",
"PWD",
"NODE_OPTIONS",
// Vercel specific
"VERCEL_*",
"NEXT_*",
"USE_OUTPUT_FOR_EDGE_FUNCTIONS",
"NOW_BUILDER",
// Command Prompt casing of env variables
"APPDATA",
"PATH",
Expand Down

0 comments on commit 537222c

Please sign in to comment.