Skip to content

Commit

Permalink
Fix wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
reinterpretcat committed Aug 4, 2023
1 parent 2403736 commit 9e43b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vrp-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ mod wasm {

get_solution_serialized(problem, config)
.map(|problem| JsValue::from_str(problem.as_str()))
.map_err(|err| JsValue::from_str(err.as_str()))
.map_err(|err| JsValue::from_str(&err.to_string()))
}
}

Expand Down

0 comments on commit 9e43b58

Please sign in to comment.