mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 06:05:24 +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)>,
|
||||
}
|
||||
|
||||
|
||||
@@ -12,5 +12,4 @@ properties:
|
||||
metadata:
|
||||
ignore_unknown_instances: false
|
||||
contributing_paths: []
|
||||
project_node: ~
|
||||
children: []
|
||||
|
||||
@@ -12,5 +12,4 @@ properties:
|
||||
metadata:
|
||||
ignore_unknown_instances: false
|
||||
contributing_paths: []
|
||||
project_node: ~
|
||||
children: []
|
||||
|
||||
@@ -9,5 +9,4 @@ properties: {}
|
||||
metadata:
|
||||
ignore_unknown_instances: false
|
||||
contributing_paths: []
|
||||
project_node: ~
|
||||
children: []
|
||||
|
||||
@@ -10,7 +10,6 @@ added_instances:
|
||||
metadata:
|
||||
ignore_unknown_instances: false
|
||||
contributing_paths: []
|
||||
project_node: ~
|
||||
name: New
|
||||
class_name: Folder
|
||||
properties: {}
|
||||
|
||||
Reference in New Issue
Block a user