mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +00:00
Generate correct names for Lua scripts
This commit is contained in:
@@ -289,7 +289,7 @@ fn construct_sync_point_node(
|
||||
context.path_id_tree.insert(&directory.path, id);
|
||||
|
||||
for child_path in &directory.children {
|
||||
let child_instance_name = child_path.file_name().unwrap().to_str().unwrap();
|
||||
let child_instance_name = child_path.file_stem().unwrap().to_str().unwrap();
|
||||
construct_sync_point_node(context, Some(id), child_instance_name, child_path);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user