2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-03-31 02:33:23 +00:00

fix: get function docs for normal modules (regression from 52a6eb21252537fcdab32c99f2474b84c3e41f03)

This commit is contained in:
TorchedSammy 2021-11-22 18:29:26 -05:00
parent 812de48558
commit e67c549714
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

@ -77,6 +77,9 @@ These are the global Hilbish functions that are always available and not part of
return 1
end
if not funcdocs then
funcdocs = f:read '*a'
end
local desc = ''
local ok = pcall(require, mod)
if ok then