From fc0cd63f22a8ff5ec016c8d7effae8989ac83126 Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Tue, 11 Sep 2018 19:58:33 -0300 Subject: [PATCH] Adding some semicolon back. --- deploy/core.gbapp/services/GBDeployer.ts | 2 +- deploy/core.gbapp/services/GBMinService.ts | 3 ++- deploy/customer-satisfaction.gbapp/dialogs/FeedbackDialog.ts | 2 +- src/app.ts | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/deploy/core.gbapp/services/GBDeployer.ts b/deploy/core.gbapp/services/GBDeployer.ts index a736943eb..c20bb1a13 100644 --- a/deploy/core.gbapp/services/GBDeployer.ts +++ b/deploy/core.gbapp/services/GBDeployer.ts @@ -79,7 +79,7 @@ export class GBDeployer { let additionalPath = GBConfigService.get("ADDITIONAL_DEPLOY_PATH") let paths = [GBDeployer.deployFolder] if (additionalPath) { - paths = paths.concat(additionalPath.toLowerCase().split("")) + paths = paths.concat(additionalPath.toLowerCase().split(";")) } let botPackages = new Array() let gbappPackages = new Array() diff --git a/deploy/core.gbapp/services/GBMinService.ts b/deploy/core.gbapp/services/GBMinService.ts index dd6fe54ec..cb67b5c34 100644 --- a/deploy/core.gbapp/services/GBMinService.ts +++ b/deploy/core.gbapp/services/GBMinService.ts @@ -229,7 +229,8 @@ export class GBMinService { private invokeLoadBot(appPackages: any[], min: any, server: any) { appPackages.forEach(e => { - e.sysPackages = new Array() + e.sysPackages = new Array(); + [ GBAdminPackage, GBAnalyticsPackage, diff --git a/deploy/customer-satisfaction.gbapp/dialogs/FeedbackDialog.ts b/deploy/customer-satisfaction.gbapp/dialogs/FeedbackDialog.ts index 01a26beff..2f59acf13 100644 --- a/deploy/customer-satisfaction.gbapp/dialogs/FeedbackDialog.ts +++ b/deploy/customer-satisfaction.gbapp/dialogs/FeedbackDialog.ts @@ -19,7 +19,7 @@ | in the LICENSE file you have received along with this program. | | | | This program is distributed in the hope that it will be useful, | -| but WITHOUT ANY WARRANTY without even the implied warranty of | +| but WITHOUT ANY WARRANTY, without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | GNU Affero General Public License for more details. | | | diff --git a/src/app.ts b/src/app.ts index 6f003f9b0..4720aadf9 100644 --- a/src/app.ts +++ b/src/app.ts @@ -98,7 +98,7 @@ export class GBServer { // Build a minimal bot instance for each .gbot deployment. let conversationalService = new GBConversationalService(core) - let minService = new GBMinService(core, conversationalService, deployer) + let minService = new GBMinService(core, conversationalService, deployer); [GBAdminPackage, GBAnalyticsPackage, GBCorePackage, GBSecurityPackage, GBKBPackage, GBCustomerSatisfactionPackage, GBWhatsappPackage].forEach(e => {