diff options
| author | David Czihak <git@dcz.at> | 2026-05-11 17:41:25 +0200 |
|---|---|---|
| committer | David Czihak <git@dcz.at> | 2026-05-11 17:41:25 +0200 |
| commit | 4b70e5993f4aaec8b44f17f625e62d40b5786071 (patch) | |
| tree | 25559655831c0332b23b00cf9d6f3a18502426dd /Zig.novaextension/Scripts | |
| parent | 9f283a84db8f01dcd85265ba76d9241af183d4ea (diff) | |
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.
Diffstat (limited to 'Zig.novaextension/Scripts')
| -rw-r--r-- | Zig.novaextension/Scripts/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
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")); } /** |
