Skip to content

Commit c2b55fa

Browse files
committed
Fix flow config
1 parent b727ebf commit c2b55fa

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

src/FlowServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected function registerConfig()
1818
{
1919
$config = __DIR__.'/../config/flow.php';
2020

21-
$this->publishes([$config => ws_base_path('config/flow.php')], ['flow', 'flow:config']);
21+
$this->publishes([$config => ws_base_path('config/flow.php')], ['flow-config', 'flow:config']);
2222

2323
$this->mergeConfigFrom($config, 'flow');
2424
}

src/FlowServiceProviderLaravel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected function registerConfig()
1818
{
1919
$config = __DIR__.'/../config/flow.php';
2020

21-
$this->publishes([$config => base_path('config/flow.php')], ['flow', 'flow:config']);
21+
$this->publishes([$config => base_path('config/flow.php')], ['flow-config', 'flow:config']);
2222

2323
$this->mergeConfigFrom($config, 'flow');
2424
}

src/Support/FlowInstaller.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,11 @@ public static function publishConfig(): void
99
{
1010
if (class_exists('Illuminate\Support\Facades\Artisan')) {
1111
\Illuminate\Support\Facades\Artisan::call('vendor:publish', [
12-
'--provider' => 'WpStarter\Flow\FlowServiceProvider',
13-
'--tag' => 'config',
14-
'--force' => false
12+
'--tag' => 'flow-config',
1513
]);
1614
}elseif (class_exists('WpStarter\Support\Facades\Artisan')) {
1715
\WpStarter\Support\Facades\Artisan::call('vendor:publish', [
18-
'--provider' => 'WpStarter\Flow\FlowServiceProvider',
19-
'--tag' => 'config',
20-
'--force' => false
16+
'--tag' => 'flow-config',
2117
]);
2218
}
2319
}

0 commit comments

Comments
 (0)