aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-24 04:12:32 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-24 04:12:32 -0700
commit434f1bffad642855b7e3fa82fd98e80464a5edb7 (patch)
tree264739c0512c864b5dbd81410d9c61e22e438806
parent0b0db78799308cc3de148959b9496901d90b0794 (diff)
downloadbun-434f1bffad642855b7e3fa82fd98e80464a5edb7.tar.gz
bun-434f1bffad642855b7e3fa82fd98e80464a5edb7.tar.zst
bun-434f1bffad642855b7e3fa82fd98e80464a5edb7.zip
Update README.md
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 7da4e368b..cc21058ac 100644
--- a/README.md
+++ b/README.md
@@ -138,8 +138,8 @@ bun upgrade --canary
- [WebSockets](#websockets-with-bunserve)
- [Error handling](#error-handling)
- [`Bun.write` – optimizing I/O](#bunwrite--optimizing-io)
-- [`Bun.spawn` - spawn processes](#bunspawn)
-- [`Bun.which` - find the path to a bin](#bunwhich)
+- [`Bun.spawn` - spawn processes](#bunspawn--spawn-a-process)
+- [`Bun.which` - find the path to a bin](#bunwhich--find-the-path-to-a-binary)
- [bun:sqlite (SQLite3 module)](#bunsqlite-sqlite3-module)
- [bun:sqlite Benchmark](#bunsqlite-benchmark)
- [Getting started with bun:sqlite](#getting-started-with-bunsqlite)
@@ -174,7 +174,7 @@ bun upgrade --canary
- [`Bun.Transpiler.transform`](#buntranspilertransform)
- [`Bun.Transpiler.scan`](#buntranspilerscan)
- [`Bun.Transpiler.scanImports`](#buntranspilerscanimports)
-- [`Bun.peek` - read a promise same-tick](#bunpeek)
+- [`Bun.peek` - read a promise same-tick](#bunpeek---read-a-promise-without-resolving-it)
- [Environment variables](#environment-variables)
- [Credits](#credits)
- [License](#license)
@@ -2551,7 +2551,7 @@ Find the path to an executable, similar to typing `which` in your terminal.
```ts
const ls = Bun.which("ls");
-console.log(ls); // "/bin/ls"
+console.log(ls); // "/usr/bin/ls"
```
`Bun.which` defaults the `PATH` to the current `PATH` environment variable, but you can customize it