Skip to content

Commit 95dd194

Browse files
committed
Added default package.path to modified package.path
1 parent 434b396 commit 95dd194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local defaultPath = package.path
55
local format = "path;/path/?.lua;/path/?/init.lua;"
66

77
local main = format:gsub("path", basaltPath)
8-
package.path = main.."rom/?"
8+
package.path = main.."rom/?;"..defaultPath
99

1010
local function errorHandler(err)
1111
package.path = main.."rom/?"

0 commit comments

Comments
 (0)