Skip to content

Commit

Permalink
Fall back naught value to all
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 29, 2024
1 parent e91f050 commit c74b8ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function promptForCategory(): string
});

return $this->parseChoiceIntoKey(
select('Which category do you want to publish?', $this->formatPublishableChoices(), 0)
select('Which category do you want to publish?', $this->formatPublishableChoices(), 0) ?: 'all'
);
}

Expand Down

0 comments on commit c74b8ba

Please sign in to comment.