Skip to content

Commit

Permalink
fix wasm build error
Browse files Browse the repository at this point in the history
  • Loading branch information
anweiss committed Sep 26, 2022
1 parent 943224b commit ad57b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3577,7 +3577,7 @@ pub fn format_cddl_from_str(input: &str) -> result::Result<String, JsValue> {
Err(Error::INCREMENTAL) => {
if !p.errors.is_empty() {
return Err(
JsValue::from_serde(
serde_wasm_bindgen::to_value(
&p.errors
.iter()
.filter_map(|e| {
Expand Down

0 comments on commit ad57b7e

Please sign in to comment.