From fe492848438e352e04c56475f479e6036a01f610 Mon Sep 17 00:00:00 2001 From: tommy Date: Fri, 27 Sep 2024 17:44:39 -0400 Subject: [PATCH] BOOM --- src/Modules/CommandCollector.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modules/CommandCollector.lua b/src/Modules/CommandCollector.lua index b80550c..5174bc5 100644 --- a/src/Modules/CommandCollector.lua +++ b/src/Modules/CommandCollector.lua @@ -30,7 +30,7 @@ function CommandCollector:Collect() local CommandsContainerPath = self.Prefix..'Commands/' - for File in io.popen('dir "./src/'..CommandsContainerPath..'" /b'):lines() do + for File in io.popen('ls ./src/'..CommandsContainerPath):lines() do if File:sub(1, 1) ~= IGNORE_STARTING_FILE_NAME then local Success, Return = pcall(require, RELATIVE_PATH_TO_COMMANDS..CommandsContainerPath..File) if Success then