Adding some semicolon back.

This commit is contained in:
Rodrigo Rodriguez 2018-09-11 19:58:33 -03:00
parent 576b9581ab
commit 3a3a1e2546
4 changed files with 5 additions and 4 deletions

View file

@ -79,7 +79,7 @@ export class GBDeployer {
let additionalPath = GBConfigService.get("ADDITIONAL_DEPLOY_PATH") let additionalPath = GBConfigService.get("ADDITIONAL_DEPLOY_PATH")
let paths = [GBDeployer.deployFolder] let paths = [GBDeployer.deployFolder]
if (additionalPath) { if (additionalPath) {
paths = paths.concat(additionalPath.toLowerCase().split("")) paths = paths.concat(additionalPath.toLowerCase().split(";"))
} }
let botPackages = new Array<string>() let botPackages = new Array<string>()
let gbappPackages = new Array<string>() let gbappPackages = new Array<string>()

View file

@ -229,7 +229,8 @@ export class GBMinService {
private invokeLoadBot(appPackages: any[], min: any, server: any) { private invokeLoadBot(appPackages: any[], min: any, server: any) {
appPackages.forEach(e => { appPackages.forEach(e => {
e.sysPackages = new Array<IGBPackage>() e.sysPackages = new Array<IGBPackage>();
[ [
GBAdminPackage, GBAdminPackage,
GBAnalyticsPackage, GBAnalyticsPackage,

View file

@ -19,7 +19,7 @@
| in the LICENSE file you have received along with this program. | | in the LICENSE file you have received along with this program. |
| | | |
| This program is distributed in the hope that it will be useful, | | 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 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU Affero General Public License for more details. | | GNU Affero General Public License for more details. |
| | | |

View file

@ -98,7 +98,7 @@ export class GBServer {
// Build a minimal bot instance for each .gbot deployment. // Build a minimal bot instance for each .gbot deployment.
let conversationalService = new GBConversationalService(core) let conversationalService = new GBConversationalService(core)
let minService = new GBMinService(core, conversationalService, deployer) let minService = new GBMinService(core, conversationalService, deployer);
[GBAdminPackage, GBAnalyticsPackage, GBCorePackage, GBSecurityPackage, [GBAdminPackage, GBAnalyticsPackage, GBCorePackage, GBSecurityPackage,
GBKBPackage, GBCustomerSatisfactionPackage, GBWhatsappPackage].forEach(e => { GBKBPackage, GBCustomerSatisfactionPackage, GBWhatsappPackage].forEach(e => {