From 2a08a660dd72cb2e4287e5753822d2e93281f8eb Mon Sep 17 00:00:00 2001 From: Clover <96365159+cloverrfoxx@users.noreply.github.com> Date: Thu, 13 Feb 2025 12:52:35 -0800 Subject: [PATCH] Update importcode.src oops --- importcode.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importcode.src b/importcode.src index 162a578..6702631 100644 --- a/importcode.src +++ b/importcode.src @@ -19,7 +19,7 @@ handleFileImports = function(pathSrc) //-- handle relative imports if text[:2] == "./" then text = parent_path(pathSrc)+text[2:] //-- handle non-dot relative imports - if text[0] != "/" then text = parent_path(pathSrc)+"/"+text[1:] + if text[0] != "/" then text = parent_path(pathSrc)+"/"+text //-- handle nested imports if text[-4:]==".src" then result = handleFileImports(text)