We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2afa85d commit 5462a73Copy full SHA for 5462a73
1 file changed
bin/gen-list.mts
@@ -24,7 +24,11 @@ for (const tier of listTiers) {
24
listData[tierData.name] = tierData.tasks;
25
}
26
27
-await mkdir('./lists');
+await mkdir('./lists').catch((e) => {
28
+ if (e.code !== 'EEXIST') {
29
+ throw e;
30
+ }
31
+});
32
33
// @ts-expect-error
34
await writeFile(`./lists/${listName}.json`, fmt.Serialize(listData));
0 commit comments