Skip to content

Commit

Permalink
Getting rid of an error handler because it isn't working the way I ex…
Browse files Browse the repository at this point in the history
…pect it to
  • Loading branch information
edgrosvenor committed Jan 21, 2025
1 parent 2aab358 commit 655869c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/kibble/src/Commands/CreatePackageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ public function handle(): int

$this->info("Created {$create}");

if (! filter_var($create, FILTER_VALIDATE_URL)) {
$this->error('We expected GitHub to return the URL of a new repo but got this instead: '.$create);

return self::FAILURE;
}

$this->call('kibble:import-package', [
'name' => $slug,
'path' => $slug,
Expand Down

0 comments on commit 655869c

Please sign in to comment.