« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/data/things/validators.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/things/validators.js b/src/data/things/validators.js
index 866a9dad..01062e7d 100644
--- a/src/data/things/validators.js
+++ b/src/data/things/validators.js
@@ -766,8 +766,8 @@ export function anyOf(...validators) {
     for (const [validator, i, error] of prefaceErrorInfo.concat(errorInfo)) {
       error.message =
         (validator?.name
-          ? `(#${i + 1} "${validator.name}") ${error.message}`
-          : `(#${i + 1}) ${error.message}`);
+          ? `${i + 1}. "${validator.name}": ${error.message}`
+          : `${i + 1}. ${error.message}`);
 
       error.check =
         (Array.isArray(validator) && validator.length === 1