diff --git a/multiversx_sdk_cli/dependencies/modules.py b/multiversx_sdk_cli/dependencies/modules.py index a9a6dc16..7c7832b5 100644 --- a/multiversx_sdk_cli/dependencies/modules.py +++ b/multiversx_sdk_cli/dependencies/modules.py @@ -196,6 +196,11 @@ def copy_libwasmer_in_parent_directory(self, tag: str): def get_env(self) -> Dict[str, str]: return dict() + def get_source_directory(self, tag: str) -> Path: + directory = self.get_directory(tag) + first_subdirectory = next(directory.iterdir()) + return first_subdirectory + class GolangModule(StandaloneModule): def _post_install(self, tag: str):