Skip to content

Commit

Permalink
fix(whatsapp.gblib): BASIC is disabled again.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Aug 26, 2019
1 parent 8d512ca commit 4828a33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core.gbapp/services/GBMinService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export class GBMinService {
GBServer.globals.minInstances.push(min);

// Install default VBA module.
// this.deployer.deployPackage(min, 'packages/default.gbdialog');
//this.deployer.deployPackage(min, 'packages/default.gbdialog');

// Call the loadBot context.activity for all packages.
this.invokeLoadBot(GBServer.globals.appPackages, GBServer.globals.sysPackages, min, GBServer.globals.server);
Expand Down
4 changes: 2 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const express = require('express');
const bodyParser = require('body-parser');
import * as fs from 'fs';
var mkdirp = require('mkdirp');
var Path = require('path');

import { GBLog, IGBCoreService, IGBInstance, IGBPackage, GBMinInstance } from 'botlib';
import { GBAdminService } from '../packages/admin.gbapp/services/GBAdminService';
Expand Down Expand Up @@ -92,12 +93,11 @@ export class GBServer {

// Creates working directory.

const workDir = 'workDir';
const workDir = Path.join(process.env.PWD, 'work');
if (!fs.existsSync(workDir)){
mkdirp.sync(workDir);
}


server.listen(port, () => {
(async () => {
try {
Expand Down

0 comments on commit 4828a33

Please sign in to comment.