From af71f9cc01e4e197e29f547dd44cb09ddbba8319 Mon Sep 17 00:00:00 2001 From: Clover <96365159+cloverrfoxx@users.noreply.github.com> Date: Thu, 13 Feb 2025 12:59:05 -0800 Subject: [PATCH] Update importcode.src oops 2 --- importcode.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importcode.src b/importcode.src index 8ceecec..3d598cb 100644 --- a/importcode.src +++ b/importcode.src @@ -17,7 +17,7 @@ handleFileImports = function(pathSrc) if text.len < 1 then continue //-- handle relative imports - if text[:2] == "./" then text = parent_path(pathSrc)+text[2:] + if text[:2] == "./" then text = parent_path(pathSrc)+text[1:] //-- handle non-dot relative imports if text[0] != "/" then text = parent_path(pathSrc)+"/"+text //-- handle nested imports