Skip to content

Commit b741c1d

Browse files
Einarpatrickbrouwers
authored andcommitted
Return exit code 1 when migration is cancelled (#49)
1 parent 5820e8e commit b741c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/MigrateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected function handleExecutedUnavailableMigrationsException(
101101

102102
if (!$this->confirm('Are you sure you wish to continue?')) {
103103
$this->error('Migration cancelled!');
104-
die;
104+
exit(1);
105105
}
106106
}
107107
}

0 commit comments

Comments
 (0)