Skip to content

Commit b49ba93

Browse files
committed
i frogot the sync
1 parent bb011bc commit b49ba93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen-webring-routes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const fs = require("fs");
44
const frogs = require("./static/webring/froglist.json");
55

66
function makeRoutes(frog, nextFrog, prevFrog) {
7-
fs.mkdir(`./static/webring/frogs/${frog.name}`, { recursive: true });
7+
fs.mkdirSync(`./static/webring/frogs/${frog.name}`, { recursive: true });
88
fs.appendFileSync(`./static/webring/frogs/${frog.name}.html`, frog.url);
99
fs.appendFileSync(`./static/webring/frogs/${frog.name}/next.html`, nextFrog.url);
1010
fs.appendFileSync(`./static/webring/frogs/${frog.name}/prev.html`, prevFrog.url);

0 commit comments

Comments
 (0)