Skip to content

Commit

Permalink
null check bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey18106 committed Dec 21, 2021
1 parent 6f8de3a commit 7e53905
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ To start working on frontend follow this steps:

1. ☁ Clone this into your `apps` folder of your Nextcloud.
1. 👩‍💻 In a terminal, run the command `make dev-setup` to install the dependencies.
1. 🏗 Then to build the frontend application run `make build-js` (builds Vue application in production mode), or watch changes with: `make watch-js` (in development mode).
1. 🏗 Then to build the frontend application run `make build-js-production` (builds Vue application in production mode), or watch changes with: `make watch-js` (in development mode).
1. ✅ Enable the app through the app management of your Nextcloud.
1. 💻 Fix easily linting issues with `npm run lint:fix`.

## Support us

You can support us with any donate amount.

[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate?hosted_button_id=H5PLJJMWLDNJQ)
[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/donate?hosted_button_id=H5PLJJMWLDNJQ)
4 changes: 2 additions & 2 deletions lib/Migration/AppUpdateStep.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ public function run(IOutput $output) {
$installedSetting = $this->settingsService->getSettingByName('installed')['setting'];
$installed = json_decode($installedSetting->getValue(), true);
if (isset($installed['not_installed_list'])) {
if (count($installed['not_installed_list']['boost']) > 0) {
if (isset($installed['not_installed_list']['boost']) && count($installed['not_installed_list']['boost']) > 0) {
$installResult = $this->pythonService->installDependencies();
} else {
$installResult = $this->pythonService->installDependencies('required optional boost');
}
if ($installResult['installed']) {
if (isset($installResult['installed']) && $installResult['installed']) {
$installed['not_installed_list'] = [
'required' => $installResult['required'],
'optional' => $installResult['optional'],
Expand Down

0 comments on commit 7e53905

Please sign in to comment.