This commit is contained in:
tyow 2026-02-04 20:29:44 -05:00
parent cbf472fe0a
commit 1334276ec0
2 changed files with 3 additions and 3 deletions

View file

@ -102,7 +102,7 @@ export const xen = register('xen', function (scaleNameOrRatios, pat) {
let hVal = hap.value;
const isObject = typeof hVal === 'object';
if (!isObject) {
throw new Error(`Expected hap to have control 'i' set, but received ${hap.value.i}, try wrapping input in i()`)
throw new Error(`Expected hap to have control 'i' set, but received ${hap.value.i}, try wrapping input in i()`);
}
const { i, ...otherValues } = hVal;
const scale = getXenScale(scaleNameOrRatios);