Skip to content

Commit 318a66c

Browse files
authored
chore: fix wrong example in docs (#78)
1 parent 25035bb commit 318a66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shells.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class Shells extends Disposable {
108108
* ## Example
109109
*
110110
* ```ts
111-
* const shell = await sandbox.shell.runCommand("echo 'Hello, world!'");
111+
* const shell = sandbox.shell.run("echo 'Hello, world!'");
112112
*
113113
* shell.onOutput((data) => {
114114
* console.log(data);

0 commit comments

Comments
 (0)