From 4b70e5993f4aaec8b44f17f625e62d40b5786071 Mon Sep 17 00:00:00 2001 From: David Czihak Date: Mon, 11 May 2026 17:41:25 +0200 Subject: Fix: Correctly apply -D build options Fix getTaskArgs not returning -D build options in the correct format, so they would not be passed on to the build process. --- Zig.novaextension/Scripts/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Zig.novaextension/Scripts') diff --git a/Zig.novaextension/Scripts/main.js b/Zig.novaextension/Scripts/main.js index 17edb72..6ef2241 100644 --- a/Zig.novaextension/Scripts/main.js +++ b/Zig.novaextension/Scripts/main.js @@ -207,7 +207,8 @@ function getTaskConfigValue(config, key) { * @returns {string[]} - Argument list */ function getTaskArgs(config, key) { - return normalizeArray(getTaskConfigValue(config, key)); + if (!config) return []; + return normalizeArray(config.get(key, "array")); } /** -- cgit v1.3