mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Reword top level model error message (#412)
This commit is contained in:
parent
c7ab6c435c
commit
d85bca2e7e
2 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue