Commit c1b1265
committed
fix(js-sdk): use commands.run in Sandbox.getHost() example
The getHost() JSDoc @example called sandbox.commands.exec(), which is not a method on the Commands class. Switch it to sandbox.commands.run(..., { background: true }) so the long-running HTTP server starts before getHost() is called. Documentation only, no behavior change.
Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>1 parent 5d84a8e commit c1b1265
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
| 428 | + | |
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
| |||
0 commit comments