From 5f068ba1b86cd3c730b944726cc249608d395548 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Tue, 3 Dec 2024 10:50:07 +0000 Subject: [PATCH] fix(rojo): pass directory to action from map --- src/generators/rojo/sourcemap.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/rojo/sourcemap.luau b/src/generators/rojo/sourcemap.luau index 612e518..72651f9 100644 --- a/src/generators/rojo/sourcemap.luau +++ b/src/generators/rojo/sourcemap.luau @@ -40,7 +40,7 @@ return function(packageDirectory: string?): boolean -- file predicates, if present, we execute the action and report our status for path, action in PATH_ACTION_MAP do if fs.isFile(`{packageDirectory}{PLATFORM_SEP}{path}`) then - local status = action() + local status = action(packageDirectory) return if status ~= nil then status == 0 else true end end