From a656cc1b7086d2cb6826c4070547fe153ae6e2a2 Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Wed, 23 Oct 2024 11:01:21 +0300 Subject: [PATCH] docs: fix missing code highlight in spawn.md (#14761) --- docs/api/spawn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/spawn.md b/docs/api/spawn.md index e540cc8316..3097af8585 100644 --- a/docs/api/spawn.md +++ b/docs/api/spawn.md @@ -179,7 +179,7 @@ proc.kill(); // specify an exit code The parent `bun` process will not terminate until all child processes have exited. Use `proc.unref()` to detach the child process from the parent. -``` +```ts const proc = Bun.spawn(["bun", "--version"]); proc.unref(); ```