Skip to content

Commit ad58139

Browse files
committed
Disable self-update for staic PHP build
1 parent 051f1f1 commit ad58139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/SelfUpdateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function configure(): void
8282

8383
public function execute(InputInterface $input, OutputInterface $output): int
8484
{
85-
if (! PieVersion::isPharBuild()) {
85+
if (! PieVersion::isPharBuild() || Platform::isRunningStaticPhp()) {
8686
$this->io->writeError('<comment>Aborting! You are not running a PHAR, cannot self-update.</comment>');
8787

8888
return Command::FAILURE;

0 commit comments

Comments
 (0)