Skip to content

Commit af714e1

Browse files
committed
og_image: Clear environment variables for typst subprocess
1 parent 83163f4 commit af714e1

File tree

1 file changed

+1
-0
lines changed
  • crates/crates_io_og_image/src

1 file changed

+1
-0
lines changed

crates/crates_io_og_image/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ impl OgImageGenerator {
249249
.arg(format!("avatar_map={}", json_avatar_map))
250250
.arg(&typ_file_path)
251251
.arg(output_file.path())
252+
.env_clear()
252253
.output()
253254
.await
254255
.map_err(OgImageError::TypstNotFound)?;

0 commit comments

Comments
 (0)