mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 22:25:26 +00:00
Reword top level model error message (#412)
This commit is contained in:
@@ -32,7 +32,7 @@ pub fn snapshot_rbxm(
|
|||||||
Ok(Some(snapshot))
|
Ok(Some(snapshot))
|
||||||
} else {
|
} else {
|
||||||
anyhow::bail!(
|
anyhow::bail!(
|
||||||
"Rojo doesn't have support for model files with zero or more than one top-level instances yet.\n\n \
|
"Rojo currently only supports model files with one top-level instance.\n\n \
|
||||||
Check the model file at path {}",
|
Check the model file at path {}",
|
||||||
path.display()
|
path.display()
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ pub fn snapshot_rbxmx(
|
|||||||
Ok(Some(snapshot))
|
Ok(Some(snapshot))
|
||||||
} else {
|
} else {
|
||||||
anyhow::bail!(
|
anyhow::bail!(
|
||||||
"Rojo doesn't have support for model files with zero or more than one top-level instances yet.\n\n \
|
"Rojo currently only supports model files with one top-level instance.\n\n \
|
||||||
Check the model file at path {}",
|
Check the model file at path {}",
|
||||||
path.display()
|
path.display()
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user