Skip to content

Commit 78e741a

Browse files
committed
README fixes
1 parent ef515ff commit 78e741a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ await run(`python -c 'print("Hello, World!")'`);
5050
// ^^ executes via `/bin/sh` (so quoting and that work as expected)
5151
```
5252

53-
Capturing stdout is easy:
53+
Capture stdout easily:
5454

5555
```ts
5656
const { stdout } = await run(`ruby -e 'puts ", World!"'`, { stdout: true });
57-
console.log("Hello,", code);
57+
console.log("Hello,", stdout);
5858
```
5959

6060
> `{ stderr: true }` also works.
@@ -74,7 +74,7 @@ Need a specific version of something? [tea][tea/cli] can install any version
7474
of any package:
7575

7676
```ts
77-
await run("node^16 -e 'console.log(process.version)'");
77+
await run(["node^16", "-e", "console.log(process.version)"]);
7878
// => v16.18.1
7979
```
8080

0 commit comments

Comments
 (0)