Skip to content

Commit cc117ec

Browse files
committed
Fix tests (#2)
1 parent 55e0788 commit cc117ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ end)());`;
490490
extension = `.${extension}`;
491491
}
492492
const modName = fileName.endsWith(extension)
493-
? formatPathToLuaPath(fileName.substring(0, fileName.length - extension.length))
493+
? formatPathToLuaPath(fileName.substring(0, fileName.length - extension.length), this.options)
494494
: fileName;
495495
if (this.options.luaTarget === tstl.LuaTarget.Lua50) {
496496
// Adding source Lua to the _LOADED cache will allow require to find it

0 commit comments

Comments
 (0)