File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import z, { type ZodType } from "zod";
66import type { BrowserUse } from "../../index.js" ;
77import type { BrowserUseTasks } from "../api/BrowserUseTasks.js" ;
88import type { CreateTaskRequest , TaskView } from "../../api/index.js" ;
9- import { ExhaustiveSwitchCheck } from "./types.js" ;
109
1110// RUN
1211
@@ -162,8 +161,8 @@ export function wrapCreateTaskResponse(
162161 case "started" :
163162 await new Promise ( ( resolve ) => setTimeout ( resolve , intervalMs ) ) ;
164163 break ;
165- default :
166- throw new ExhaustiveSwitchCheck ( res . status as never ) ;
164+ // default:
165+ // throw new ExhaustiveSwitchCheck(res.status as never);
167166 }
168167 } while ( true ) ;
169168 }
@@ -242,8 +241,8 @@ export function wrapCreateTaskResponse(
242241 case "stopped" :
243242 case "started" :
244243 break ;
245- default :
246- throw new ExhaustiveSwitchCheck ( msg . data . status as never ) ;
244+ // default:
245+ // throw new ExhaustiveSwitchCheck(msg.data.status as never);
247246 }
248247 }
249248
You can’t perform that action at this time.
0 commit comments