@getodk/xpath 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7478,7 +7478,7 @@ const choiceName = new StringFunction(
|
|
|
7478
7478
|
}
|
|
7479
7479
|
const firstNode = nodes?.[0];
|
|
7480
7480
|
if (!firstNode) {
|
|
7481
|
-
|
|
7481
|
+
throw new Error(`No element found by evaluating '${value}'`);
|
|
7482
7482
|
}
|
|
7483
7483
|
if (!("getChoiceName" in firstNode)) {
|
|
7484
7484
|
throw new Error(
|