mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 04:51:47 +00:00
Removed InstanceSnapshot snapshot_id's redudant Ref. (#730)
Ref now is an optional inside, so it's redundant to have an option wrapping an option. The only snapshots that were changed were any that had a Ref within (from none to zeroed). Some also had some newlines added in the end.
This commit is contained in:
parent
623fa06d52
commit
80eb14f9da
29 changed files with 58 additions and 69 deletions
|
|
@ -2,7 +2,7 @@ use std::{borrow::Cow, collections::HashMap, path::Path};
|
|||
|
||||
use anyhow::{bail, Context};
|
||||
use memofs::Vfs;
|
||||
use rbx_dom_weak::types::Attributes;
|
||||
use rbx_dom_weak::types::{Attributes, Ref};
|
||||
use rbx_reflection::ClassTag;
|
||||
|
||||
use crate::{
|
||||
|
|
@ -271,7 +271,7 @@ pub fn snapshot_project_node(
|
|||
));
|
||||
|
||||
Ok(Some(InstanceSnapshot {
|
||||
snapshot_id: None,
|
||||
snapshot_id: Ref::none(),
|
||||
name,
|
||||
class_name,
|
||||
properties,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue