Reword top level model error message (#412)

This commit is contained in:
Mixu78
2021-04-16 19:39:30 +03:00
committed by GitHub
parent c7ab6c435c
commit d85bca2e7e
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ pub fn snapshot_rbxm(
Ok(Some(snapshot))
} else {
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 {}",
path.display()
);

View File

@@ -35,7 +35,7 @@ pub fn snapshot_rbxmx(
Ok(Some(snapshot))
} else {
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 {}",
path.display()
);