1
0
Fork 0

Also attempt working around Vagrant filesystem issues when installing plugins initially, refs #9627

pull/9793/head
Jordi Boggiano 2021-03-16 20:29:57 +01:00
parent 2f4b99eacd
commit 3b89a9c3b4
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ class PluginInstaller extends LibraryInstaller
return $promise->then(function () use ($self, $pluginManager, $package, $repo) { return $promise->then(function () use ($self, $pluginManager, $package, $repo) {
try { try {
Platform::workaroundFilesystemIssues();
$pluginManager->registerPackage($package, true); $pluginManager->registerPackage($package, true);
} catch (\Exception $e) { } catch (\Exception $e) {
$self->rollbackInstall($e, $repo, $package); $self->rollbackInstall($e, $repo, $package);