Skip to content

Commit

Permalink
Fix more
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 26, 2024
1 parent 9ae6cf5 commit 4d77910
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions turbopack/crates/turbopack-env/src/try_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ impl TryDotenvProcessEnv {
prior: ResolvedVc<Box<dyn ProcessEnv>>,
path: ResolvedVc<FileSystemPath>,
) -> Result<Vc<Self>> {
let dotenv = DotenvProcessEnv::new(Some(prior), path)
let dotenv = DotenvProcessEnv::new(Some(*prior), *path)
.to_resolved()
.await?;
Ok(TryDotenvProcessEnv {
Expand Down Expand Up @@ -55,7 +55,8 @@ impl ProcessEnv for TryDotenvProcessEnv {
// read_all_with_prior will wrap a current error with a context containing the
// failing file, which we don't really care about (we report the filepath as the
// Issue context, not the description). So extract the real error.
description: StyledString::Text(e.root_cause().to_string().into()).cell(),
description: StyledString::Text(e.root_cause().to_string().into())
.resolved_cell(),
}
.cell()
.emit();
Expand Down

0 comments on commit 4d77910

Please sign in to comment.