Avoid sending install notifications in dry-run mode
parent
3d9daea6a0
commit
4f934d9282
|
@ -234,11 +234,15 @@ class Installer
|
|||
return $res;
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
if (!$this->dryRun) {
|
||||
$this->installationManager->notifyInstalls($this->io);
|
||||
}
|
||||
|
||||
throw $e;
|
||||
}
|
||||
if (!$this->dryRun) {
|
||||
$this->installationManager->notifyInstalls($this->io);
|
||||
}
|
||||
|
||||
// output suggestions if we're in dev mode
|
||||
if ($this->devMode) {
|
||||
|
|
Loading…
Reference in New Issue