Stop serializing project_node if it's None

This commit is contained in:
Lucien Greathouse
2019-10-04 15:12:21 -07:00
parent 938c8259c3
commit 238233ca81
22 changed files with 1 additions and 25 deletions

View File

@@ -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)>,
}