lint fixes

This commit is contained in:
Zef Hemel
2026-07-28 14:30:10 +02:00
parent c135bcbdb7
commit 02ee8c7942
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export const jsApi = new LuaTable({
callback: async (_sf, path: string) => {
const base = document.baseURI.replace(/\/*$/, "/");
const rel = String(path).replace(/^\/+/, "");
let m = await import(base + fsEndpoint.slice(1) + "/" + rel);
let m = await import(`${base}${fsEndpoint.slice(1)}/${rel}`);
// Unwrap default if it exists (same contract as `js.import`).
if (Object.keys(m).length === 1 && m.default) {
m = m.default;