From 5c1dbd7795d60d5a5baf1ddd022e3de5b2eaa27a Mon Sep 17 00:00:00 2001 From: BrettMayson Date: Wed, 30 Sep 2026 00:00:45 -0600 Subject: [PATCH] Update file extension check in graph.tl --- src/cyan/graph.tl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cyan/graph.tl b/src/cyan/graph.tl index b599ebe..0eb9f31 100644 --- a/src/cyan/graph.tl +++ b/src/cyan/graph.tl @@ -355,8 +355,8 @@ function graph.scan_directory(source_dir: lexical_path.Path, include?: {string | local cwd = fs.current_directory() for p in fs.scan_directory(source_dir, include, exclude) do - local ext = p:extension(2):lower() - if ext == "tl" or ext == "lua" then + local ext = p:extension():lower() + if (ext == "tl" or ext == "lua") and name:sub(-2) ~= ".d" then unchecked_insert(d, p, abs_src, cwd) end end