Skip to content

Commit 82eb49d

Browse files
committed
Fix the sync-playground-bundles script
1 parent 66047b2 commit 82eb49d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/sync-playground-bundles.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import * as stream from "node:stream/promises";
77
const bucketUrl = new URL("https://cdn.rescript-lang.org");
88

99
const bundlesDir = path.join(import.meta.dirname, "../public/playground-bundles");
10+
fs.mkdirSync(bundlesDir, { recursive: true });
11+
1012
const versions = await fetch(new URL("/playground-bundles/versions.json", bucketUrl))
1113
.then(res => res.json());
1214

0 commit comments

Comments
 (0)