We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 899b52e commit 5d648cbCopy full SHA for 5d648cb
src/CreateCommand.php
@@ -151,12 +151,10 @@ protected function handle(): int
151
}
152
153
\Leaf\FS\Directory::delete("$directory/app/views");
154
- \Leaf\FS\Directory::create("$directory/app/views");
155
-
156
\Leaf\FS\Directory::delete("$directory/app/routes");
157
- \Leaf\FS\Directory::copy(__DIR__ . '/themes/api/routes', "$directory/app/routes");
158
159
\Leaf\FS\Directory::delete("$directory/public/index.php");
+
+ \Leaf\FS\Directory::copy(__DIR__ . '/themes/api/routes', "$directory/app/routes");
160
\Leaf\FS\Directory::copy(__DIR__ . '/themes/api/index.php', "$directory/public/index.php");
161
162
\Leaf\FS\File::write("$directory/leaf", function ($content) {
0 commit comments