diff --git a/turbopack/crates/turbopack-env/src/embeddable.rs b/turbopack/crates/turbopack-env/src/embeddable.rs index 5ecd5d5082a4f..a7d7976af020e 100644 --- a/turbopack/crates/turbopack-env/src/embeddable.rs +++ b/turbopack/crates/turbopack-env/src/embeddable.rs @@ -14,8 +14,8 @@ pub struct EmbeddableProcessEnv { #[turbo_tasks::value_impl] impl EmbeddableProcessEnv { #[turbo_tasks::function] - pub fn new(prior: Vc>) -> Vc { - EmbeddableProcessEnv { prior }.cell() + pub fn new(prior: ResolvedVc>) -> Result> { + Ok(EmbeddableProcessEnv { prior }.cell()) } }