Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/build-examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export async function buildExamples({
// Copy test assets
if (testAssetsDir) {
const targetDir = path.resolve(assetsPath, "test-assets");
fs.copyFileSync(testAssetsDir, targetDir);
fs.cpSync(testAssetsDir, targetDir, { recursive: true });

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @WilcoFiers I applied this same patch locally, and then run the script, which accidentally committed the changes. I am not sure there are that many changes to the test cases since we last published.

console.log(`Copied test assets to ${targetDir}`);
}
}