You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/UpdateCommand.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,9 +42,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
42
42
$please = newPlease($output);
43
43
44
44
if ($please->isV2()) {
45
-
$please->run('update');
45
+
$output->writeln(PHP_EOL.'<error>Statamic v2 is no longer supported!</error>'.PHP_EOL);
46
46
47
-
return0;
47
+
return1;
48
48
}
49
49
50
50
$output->writeln(PHP_EOL.'<comment>NOTE: If you have previously updated using the CP, you may need to update the version in your composer.json before running this update!</comment>'.PHP_EOL);
0 commit comments