Skip to content

Commit

Permalink
fixes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed May 14, 2024
1 parent 62d729a commit 298fdc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/command/help.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local fsutil = require "fsutil"

local lst = {}
for path in fs.pairs(fsutil.join(package.procdir, "scripts", "command")) do
if path:equal_extension(".lua") then
if path:extension() == ".lua" then
lst[#lst+1] = path:stem():string()
end
end
Expand Down

0 comments on commit 298fdc7

Please sign in to comment.