Skip to content

Commit

Permalink
Update wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
prozacchiwawa committed Apr 19, 2024
1 parent 7be12ee commit 7838a1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wasm/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ pub fn run_step(runner: i32) -> JsValue {

r.cldbrun.step(&mut r.allocator)
})
.map(|mut r| r.into_dict())
.map(|result_hash| btreemap_to_object(result_hash.iter()))
.unwrap_or_else(JsValue::null)
}
Expand Down

0 comments on commit 7838a1e

Please sign in to comment.