Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit 722335f

Browse files
committed
Update require.lua
1 parent c08e28a commit 722335f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

TypeWriter/Libs/require.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ local function moduleRequire(base, name)
177177
mod, path, key = fixedRequire(pathJoin(base, "TypeWriter/Cache/Dependencies", name))
178178
if mod then return mod, path, key end
179179
end
180+
if isDir(pathJoin(base, ".TypeWriter/Cache/Dependencies")) then
181+
mod, path, key = fixedRequire(pathJoin(base, ".TypeWriter/Cache/Dependencies", name))
182+
if mod then return mod, path, key end
183+
end
180184
if isDir(pathJoin(base, "libs")) then
181185
mod, path, key = fixedRequire(pathJoin(base, "libs", name))
182186
if mod then return mod, path, key end

0 commit comments

Comments
 (0)