mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Stop serializing project_node if it's None
This commit is contained in:
parent
938c8259c3
commit
238233ca81
22 changed files with 1 additions and 25 deletions
|
|
@ -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: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue