« get me outta code hell

composite: fix a throw - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-03-31 18:47:26 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-03-31 18:47:26 -0300
commit358d180eb018e0ca667d763d25ac8b4dd4244081 (patch)
treec7a6e38b46f3d5ea86252ffc74bf9e4e6822c5a1
parentfa462e8aba913cea01ecf43faa0ee4b6c5f5dde0 (diff)
composite: fix a throw
-rw-r--r--src/data/composite.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/composite.js b/src/data/composite.js
index 3b462ef5..9f998ec8 100644
--- a/src/data/composite.js
+++ b/src/data/composite.js
@@ -425,8 +425,8 @@ export function templateCompositeFrom(description) {
       }
 
       for (const index of namedAndPositionalConflictInputPositions) {
-        const conflictingName = positionalInputNames[index];
-        push(new Error(`${name}: Provided as both named and positional (i = ${index}) input`));
+        const conflictingName = positionalInputs[index];
+        push(new Error(`${conflictingName}: Provided as both named and positional (i = ${index}) input`));
       }
 
       for (const {skipped, before} of skippedInputNames) {