respect `notify-on-install` option
parent
f4762ef021
commit
2ff73a8797
|
@ -233,13 +233,13 @@ class Installer
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
if ($this->executeOperations) {
|
if ($this->executeOperations && $this->config->get('notify-on-install')) {
|
||||||
$this->installationManager->notifyInstalls($this->io);
|
$this->installationManager->notifyInstalls($this->io);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
if ($this->executeOperations) {
|
if ($this->executeOperations && $this->config->get('notify-on-install')) {
|
||||||
$this->installationManager->notifyInstalls($this->io);
|
$this->installationManager->notifyInstalls($this->io);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue