1
0
Fork 0

respect `notify-on-install` option

pull/8580/head
Ion Bazan 2020-02-05 15:52:14 +08:00
parent f4762ef021
commit 2ff73a8797
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }