Skip to content

Commit

Permalink
fix(pilota-build): panic in workspace mode when using main branch in …
Browse files Browse the repository at this point in the history
…toml (#229)
  • Loading branch information
PureWhiteWu authored Mar 4, 2024
1 parent 9d2c0a7 commit 7683530
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pilota-build/src/codegen/toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ pub fn merge_tomls(a: &mut toml::Value, b: toml::Value) {
a.insert(k, v);
}
}),
// maybe depend on specific version for testing, don't do anything
(toml::Value::Table(_), toml::Value::String(_)) => {}
pair => panic!("can not merge {pair:?}"),
}
}

0 comments on commit 7683530

Please sign in to comment.