diff options
Diffstat (limited to 'cli/js/ops/process.ts')
-rw-r--r-- | cli/js/ops/process.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/ops/process.ts b/cli/js/ops/process.ts index 384718cef..39c6eb8b7 100644 --- a/cli/js/ops/process.ts +++ b/cli/js/ops/process.ts @@ -17,7 +17,7 @@ export function runStatus(rid: number): Promise<RunStatusResponse> { } interface RunRequest { - args: string[]; + cmd: string[]; cwd?: string; env?: Array<[string, string]>; stdin: string; @@ -37,6 +37,6 @@ interface RunResponse { } export function run(request: RunRequest): RunResponse { - assert(request.args.length > 0); + assert(request.cmd.length > 0); return sendSync("op_run", request); } |