Get the Lua version used in file paths.
()
| 20 | |
| 21 | |
| 22 | def _get_lua_version() -> str: # pragma: win32 no cover |
| 23 | """Get the Lua version used in file paths.""" |
| 24 | _, stdout, _ = cmd_output('luarocks', 'config', '--lua-ver') |
| 25 | return stdout.strip() |
| 26 | |
| 27 | |
| 28 | def get_env_patch(d: str) -> PatchesT: # pragma: win32 no cover |
no test coverage detected