create-prisma-php-app 1.6.41 → 1.6.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -171,7 +171,7 @@ function copyRecursiveSync(src, dest) {
|
|
|
171
171
|
// if (fs.existsSync(dest)) {
|
|
172
172
|
// fs.rmSync(dest, { recursive: true, force: true }); // Remove the directory if it exists
|
|
173
173
|
// }
|
|
174
|
-
|
|
174
|
+
fs.mkdirSync(dest, { recursive: true }); // Recreate the directory
|
|
175
175
|
fs.readdirSync(src).forEach((childItemName) => {
|
|
176
176
|
copyRecursiveSync(path.join(src, childItemName), path.join(dest, childItemName));
|
|
177
177
|
});
|