Skip to content

Commit 075ee01

Browse files
committed
mark command line env as session dependent
1 parent d76c606 commit 075ee01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

turbopack/crates/turbo-tasks-env/src/command_line.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use indexmap::IndexMap;
2-
use turbo_tasks::{RcStr, Vc};
2+
use turbo_tasks::{mark_session_dependent, RcStr, Vc};
33

44
use crate::{sorted_env_vars, EnvMap, ProcessEnv, GLOBAL_ENV_LOCK};
55

@@ -25,6 +25,7 @@ fn env_snapshot() -> IndexMap<RcStr, RcStr> {
2525
impl ProcessEnv for CommandLineProcessEnv {
2626
#[turbo_tasks::function]
2727
fn read_all(&self) -> Vc<EnvMap> {
28+
mark_session_dependent();
2829
Vc::cell(env_snapshot())
2930
}
3031
}

0 commit comments

Comments
 (0)