Skip to content

🎥 Make videos programmatically with React

skip checking for package.json in hidden folders

Jonny Burgere86e1b07cb4e
diff --git a/packages/it-tests/src/rendering/no-caret.test.ts b/packages/it-tests/src/rendering/no-caret.test.ts
index 3801cb7948..9f96dcefd6 100644
--- a/packages/it-tests/src/rendering/no-caret.test.ts
+++ b/packages/it-tests/src/rendering/no-caret.test.ts
@@ -6,6 +6,9 @@ test("Should not have carets in Remotion versions", async () => {
const packagesDir = path.join(process.cwd(), "..");
const packages = await fs.promises.readdir(packagesDir);
for (const pkg of packages) {
+ if (pkg.startsWith(".")) {
+ continue;
+ }
const stat = fs.statSync(path.join(packagesDir, pkg));
if (!stat.isDirectory()) {
continue;