mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 15:45:01 +00:00
chore: Fix type errors from reverts.
This commit is contained in:
@@ -19,8 +19,8 @@ const NON_INTERACTIVE_DEFAULT_OPTIONS = {
|
||||
export function createThrowingRuntime(): NonInteractiveRuntime {
|
||||
return {
|
||||
log: () => {},
|
||||
error: (msg: string) => {
|
||||
throw new Error(msg);
|
||||
error: (...args: unknown[]) => {
|
||||
throw new Error(args.map(String).join(" "));
|
||||
},
|
||||
exit: (code: number) => {
|
||||
throw new Error(`exit:${code}`);
|
||||
|
||||
Reference in New Issue
Block a user