Skip to content

Commit 8ff1bc3

Browse files
committed
Fix Orbit content tests on clean runners
1 parent f1aa697 commit 8ff1bc3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎scripts/orbit-content-tests.mjs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ assert(validateAllPosts([cycleA, cycleB]).some((failure) => failure.errors.some(
301301

302302
const draftCommandSlug = `draft-command-test-${process.pid}`;
303303
const draftCommandSource = path.join(ROOT, '.orbit', `${draftCommandSlug}-source.md`);
304+
fs.mkdirSync(path.dirname(draftCommandSource), { recursive: true });
304305
fs.writeFileSync(draftCommandSource, `---
305306
topics: [orbit]
306307
---

0 commit comments

Comments
 (0)