Skip to content

Commit 0426b93

Browse files
committed
fix confirm
1 parent 7b96757 commit 0426b93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Console/Commands/QueueUpdates.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ public function handle(): int
3434
{
3535
$targetVersion = $this->queryTargetVersion();
3636

37-
$this->confirm("Are you sure you would like to push the updates for " . $targetVersion);
37+
if (!$this->confirm("Are you sure you would like to push the updates for " . $targetVersion)) {
38+
return Command::FAILURE;
39+
}
3840

3941
$this->output->writeln('Pushing update jobs');
4042

0 commit comments

Comments
 (0)