mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 22:25:26 +00:00
Stop serializing project_node if it's None
This commit is contained in:
@@ -45,6 +45,7 @@ pub struct InstanceMetadata {
|
||||
/// This information is used to make sure the instance has the correct name,
|
||||
/// project-added children, and metadata when it's updated in response to a
|
||||
/// file change.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub project_node: Option<(String, ProjectNode)>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user