fix(FN-4636): align native backend exec options typing
Fusion-Task-Id: FN-4636 Fusion-Task-Lineage: 38ff2f48-4cb1-42c2-8f64-eb3b8d3d7f2c
This commit is contained in:
@@ -26,10 +26,10 @@ export class NativeSandboxBackend implements SandboxBackend {
|
||||
timeout: options.timeoutMs,
|
||||
maxBuffer: options.maxBuffer,
|
||||
...(options.encoding !== undefined && { encoding: options.encoding }),
|
||||
...(options.shell !== undefined && { shell: options.shell }),
|
||||
...(options.shell !== undefined && { shell: options.shell as any }),
|
||||
...(options.env !== undefined && { env: options.env }),
|
||||
...(options.signal !== undefined && { signal: options.signal }),
|
||||
});
|
||||
} as any);
|
||||
|
||||
return {
|
||||
stdout: stdout?.toString?.() ?? "",
|
||||
|
||||
Reference in New Issue
Block a user