Skip to content

Commit fd4cd95

Browse files
author
Andrei Bratu
committed
allow undefined version on flows
1 parent 41e1529 commit fd4cd95

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/eval_utils/run.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ export async function runEval(
204204
}
205205
}
206206

207-
const { callable, version, ...rest } = file;
207+
let { callable, version, ...rest } = file;
208+
version = version || {};
208209
let hlFile: FileResponse;
209210
switch (type) {
210211
case "flow": {

0 commit comments

Comments
 (0)