From f545e6a9303c50be60c433bb48f22036b55dad1e Mon Sep 17 00:00:00 2001 From: Andrew Lalis Date: Thu, 27 Apr 2023 12:42:05 +0200 Subject: [PATCH] Fix again. --- src/ms-installer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ms-installer.lua b/src/ms-installer.lua index 3c8aed0..f1eeac7 100644 --- a/src/ms-installer.lua +++ b/src/ms-installer.lua @@ -26,7 +26,7 @@ end print("----------------------------") for _, lib in pairs(libs) do local nameIdx = string.find(lib, "%.") - local name = string.sub(lib, nameIdx - 1, -1) + local name = string.sub(lib, 1, nameIdx - 1) local m = require(name) print(" " .. lib .. " installed with version " .. m.VERSION) end