mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix clippy warnings
This commit is contained in:
parent
ec614e1912
commit
44c94da2d8
17 changed files with 42 additions and 33 deletions
|
|
@ -36,6 +36,8 @@ impl SnapshotMiddleware for SnapshotLua {
|
|||
if entry.is_file() {
|
||||
snapshot_lua_file(vfs, entry)
|
||||
} else {
|
||||
// At this point, our entry is definitely a directory!
|
||||
|
||||
if let Some(snapshot) = snapshot_init(context, vfs, entry, "init.lua")? {
|
||||
// An `init.lua` file turns its parent into a ModuleScript
|
||||
Ok(Some(snapshot))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue