Skip to content

🎥 Make videos programmatically with React

make publish template work on empty project

Jonny Burgerf118afab81d8
diff --git a/packages/it-tests/src/templates/publish.ts b/packages/it-tests/src/templates/publish.ts
index b36c8c9d82..e74d3f8073 100644
--- a/packages/it-tests/src/templates/publish.ts
+++ b/packages/it-tests/src/templates/publish.ts
@@ -38,6 +38,7 @@ const publish = async (template: Template) => {
.toString('utf-8')
.trim()
.split('\n')) {
+ if (file === '') continue;
await $`rm ${file}`.cwd(workingDir).quiet();
}