Fix incorrect use of path.parse within create template (#919)

This commit is contained in:
Cooldude2606 authored and GitHub committed 2026-06-10 20:01:53 +01:00
1 parent 6fd4654c21
commit e6665d0803
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ async function copyTemplateFile(src, dst, properties) {
});
// Create folder for output file
const dir = path.parse(dst);
const { dir } = path.parse(dst);
if (dir) {
await fs.mkdir(dir, { recursive: true });
}