@m4trix/evals 0.2.0 → 0.3.0

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/cli.js CHANGED
@@ -1352,7 +1352,9 @@ function getJitiLoader() {
1352
1352
  }
1353
1353
  const createJiti2 = jitiModule.createJiti ?? jitiModule.default;
1354
1354
  if (typeof createJiti2 !== "function") {
1355
- throw new Error("Failed to initialize jiti for m4trix eval config loading.");
1355
+ throw new Error(
1356
+ "Failed to initialize jiti for m4trix eval config loading."
1357
+ );
1356
1358
  }
1357
1359
  cachedLoader = createJiti2(import.meta.url, {
1358
1360
  interopDefault: true,
@@ -1375,7 +1377,7 @@ function resolveConfigValue(value) {
1375
1377
  }
1376
1378
  if (typeof value !== "object") {
1377
1379
  throw new Error(
1378
- "Invalid m4trix eval config export. Expected an object or defineConfigFunction(() => config)."
1380
+ "Invalid m4trix eval config export. Expected an object or defineConfig(() => config)."
1379
1381
  );
1380
1382
  }
1381
1383
  return value;