Skip to content

Commit eb22414

Browse files
authored
fix(cli): Use correct filename for eval.js (#1928)
`..eval.js` -> `.eval.js`
1 parent dc24f2f commit eb22414

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/fuzzy-evals-warn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"braintrust": patch
3+
---
4+
5+
fix: Correct the eval file extension shown in CLI directory warnings

js/src/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ async function collectFiles(
719719
console.warn(
720720
warning(
721721
`Reading ${inputPath} because it was specified directly. Rename it to end in ${prefix}.ts or ` +
722-
`.${prefix}.js to include it automatically when you specify a directory.`,
722+
`${prefix}.js to include it automatically when you specify a directory.`,
723723
),
724724
);
725725
}

0 commit comments

Comments
 (0)