Factor out property filtering code to simplify web server

This commit is contained in:
Lucien Greathouse
2021-11-20 17:38:36 -05:00
parent 8b54bf0ba1
commit 5fa63733fd
3 changed files with 71 additions and 53 deletions

View File

@@ -72,8 +72,8 @@ pub fn snapshot_lua_init(
anyhow::bail!(
"init.lua, init.server.lua, and init.client.lua can \
only be used if the instance produced by the containing \
directory would be a Folder.\n\n\
directory would be a Folder.\n\
\n\
The directory {} turned into an instance of class {}.",
folder_path.display(),
dir_snapshot.class_name