mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Fix non-portable path serialization in ProjectNode.
This was failing snapshot tests on the Linux CI machines, since I committed snapshots with backslashes. I think the old path serializer was still the wrong approach, this one is sort of a middleground but I'm still not super happy with it.
This commit is contained in:
parent
07801a0283
commit
114c93fa46
4 changed files with 18 additions and 2 deletions
|
|
@ -269,6 +269,8 @@ pub struct ProjectNode {
|
|||
pub children: BTreeMap<String, ProjectNode>,
|
||||
pub properties: HashMap<String, UnresolvedRbxValue>,
|
||||
pub ignore_unknown_instances: Option<bool>,
|
||||
|
||||
#[serde(serialize_with = "crate::path_serializer::serialize_option_absolute")]
|
||||
pub path: Option<PathBuf>,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue