Skip to content

Commit

Permalink
docs: fix missing code highlight in spawn.md (#14761)
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal authored Oct 23, 2024
1 parent 4044ff7 commit a656cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/spawn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
```
Expand Down

0 comments on commit a656cc1

Please sign in to comment.