Skip to content

Commit 78808c5

Browse files
committed
fix app route command
1 parent a955812 commit 78808c5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/Commands/Foundation/Migrations/MigrationCreator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ protected function getPath($name, $path)
2626
{
2727
$devPath = '';
2828
if (app()->environment() === 'development') {
29-
$devPath = $this->devPath() . '/src';
29+
$devPath = $this->devPath() . 'src/';
3030
}
31-
$path = getcwd() . $devPath . '/database/migrations';
31+
$path = getcwd() . $devPath . 'database/migrations';
3232
if (!$this->files->isDirectory($path)) {
3333
$this->files->makeDirectory($path, 0777, true);
3434
}

app/Commands/Helpers/PackageDetail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function rootNamespace()
4343

4444
public function devPath()
4545
{
46-
return (app()->environment() === 'development') ? '/package/' . $this->getPackageName() . '/' : '';
46+
return (app()->environment() === 'development') ? '/package/' . $this->getPackageName() . '/' : '/';
4747
}
4848

4949
public function getPath($name)

builds/packr

4 Bytes
Binary file not shown.

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
|
2626
*/
2727

28-
'version' => 'v4.7.1',
28+
'version' => 'v4.7.2',
2929

3030
/*
3131
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)