You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the TOML format has a restriction that if a table itself contains tables, all keys with non-table values must be emitted first. This is typically easy to ensure happens when you're defining a struct as you can reorder the fields manually,...
So that's all I had to do is re-order the fields so that yarn comes first, because it is a non-table value (a String)
Repro
When I run
notion install yarn <version>
(on current master) it's panicking and clearing the platform.toml file:Investigation
Looks like it's failing on
Toolchain::save
The only line in save() that calls .unwrap() is this one (line 84 in
notion-core/src/toolchain/mod.rs
):So that looks like an issue with
platform.to_serial()
The text was updated successfully, but these errors were encountered: