refactor: use snake case for method names

This commit is contained in:
Nova
2022-11-08 06:10:03 -05:00
parent 3821e14fbd
commit 3cdb6da09c
16 changed files with 54 additions and 51 deletions

View File

@@ -24,7 +24,7 @@ impl EnvironmentItem {
&ITEM_TYPE_INFO_ENVIRONMENT,
ItemType::Environment(EnvironmentItem { path }),
);
node.add_local_method("getPath", EnvironmentItem::get_path_flex);
node.add_local_method("get_path", EnvironmentItem::get_path_flex);
}
fn get_path_flex(node: &Node, _calling_client: Arc<Client>, _data: &[u8]) -> Result<Vec<u8>> {