From 3a3a1e2546eed704c07b6486901f7a4a5b6505ac 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 a736943e..c20bb1a1 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 dd6fe54e..cb67b5c3 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 01a26bef..2f59acf1 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 6f003f9b..4720aadf 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 => {