Skip to content

Commit 13a1c19

Browse files
committed
test: format prompt snapshot markdown in generator
1 parent e516f7e commit 13a1c19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/generate-prompt-snapshots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async function writeSnapshotFiles(root: string, files: PromptSnapshotFile[]) {
4040

4141
async function formatSnapshotFiles(root: string, files: PromptSnapshotFile[]) {
4242
const filePaths = files
43-
.filter((file) => file.path.endsWith(".json"))
43+
.filter((file) => file.path.endsWith(".md") || file.path.endsWith(".json"))
4444
.map((file) => path.resolve(root, file.path));
4545
if (filePaths.length === 0) {
4646
return;

0 commit comments

Comments
 (0)