|
@@ -98,7 +98,7 @@ discard block |
|
|
block discarded – undo |
|
98
|
98
|
|
|
99
|
99
|
// Get list of installed custom apps |
|
100
|
100
|
$installedApps = $this->appManager->getInstalledApps(); |
|
101
|
|
- $installedApps = array_filter($installedApps, function ($app) { |
|
|
101
|
+ $installedApps = array_filter($installedApps, function($app) { |
|
102
|
102
|
try { |
|
103
|
103
|
$this->appManager->getAppPath($app); |
|
104
|
104
|
} catch (AppPathNotFoundException $e) { |
|
@@ -117,7 +117,7 @@ discard block |
|
|
block discarded – undo |
|
117
|
117
|
$this->appFetcher->setVersion($newVersion, 'future-apps.json', false); |
|
118
|
118
|
|
|
119
|
119
|
// Apps available on the app store for that version |
|
120
|
|
- $availableApps = array_map(static function (array $app) { |
|
|
120
|
+ $availableApps = array_map(static function(array $app) { |
|
121
|
121
|
return $app['id']; |
|
122
|
122
|
}, $this->appFetcher->get()); |
|
123
|
123
|
|
|
@@ -133,7 +133,7 @@ discard block |
|
|
block discarded – undo |
|
133
|
133
|
// Ignore apps that are deployed from git |
|
134
|
134
|
$installedApps = array_filter($installedApps, function(string $appId) { |
|
135
|
135
|
try { |
|
136
|
|
- return !file_exists($this->appManager->getAppPath($appId) . '/.git'); |
|
|
136
|
+ return !file_exists($this->appManager->getAppPath($appId).'/.git'); |
|
137
|
137
|
} catch (AppPathNotFoundException $e) { |
|
138
|
138
|
return true; |
|
139
|
139
|
} |
Please login to merge, or discard this patch.