respect `notify-on-install` option

main
Ion Bazan 4 years ago
parent f4762ef021
commit 2ff73a8797

@ -233,13 +233,13 @@ class Installer
return $res;
}
} catch (\Exception $e) {
if ($this->executeOperations) {
if ($this->executeOperations && $this->config->get('notify-on-install')) {
$this->installationManager->notifyInstalls($this->io);
}
throw $e;
}
if ($this->executeOperations) {
if ($this->executeOperations && $this->config->get('notify-on-install')) {
$this->installationManager->notifyInstalls($this->io);
}

Loading…
Cancel
Save