Skip to content

Commit

Permalink
Use existing GenerateStandardizedBranchName action
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnhooper committed Mar 18, 2024
1 parent 3ef4910 commit 0fbe2c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Services/Forge/Pipeline/CreateDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace App\Services\Forge\Pipeline;

use App\Actions\FormattedBranchName;
use App\Actions\GenerateStandardizedBranchName;
use App\Services\Forge\ForgeService;
use App\Traits\Outputifier;
use Closure;
Expand All @@ -30,7 +30,7 @@ public function __invoke(ForgeService $service, Closure $next)
}

if ( $service->setting->dbName ) {
$dbName = FormattedBranchName::run($service->setting->dbName);
$dbName = GenerateStandardizedBranchName::run($service->setting->dbName);
} else {
$dbName = $service->getStandardizedBranchName();
}
Expand Down

0 comments on commit 0fbe2c3

Please sign in to comment.