We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6499ba commit 0538d66Copy full SHA for 0538d66
index.ts
@@ -37,11 +37,13 @@ for (let item of Deno.readDirSync(path.resolve('./')))
37
{
38
console.log(`- ${item.name}` + (item.isDirectory ? ' (directory)' : ''))
39
}
40
-if (!exists(config.distPath))
+try
41
42
Deno.mkdirSync(config.distPath);
43
- console.debug('Created directory ' + config.distPath);
44
+// don't throw :3
45
+catch (e) {console.error(`Something fucked up when creating ${config.distPath}`, e);}
46
+
47
console.log(`Reading all files in ${config.distPath}`);
48
for (let item of Deno.readDirSync(config.distPath))
49
0 commit comments