Skip to content

Commit

Permalink
fix(core.gbapp): Azure deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed May 16, 2019
1 parent 49e1743 commit f1b8eb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core.gbapp/services/GBConfigService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ import { GBLog } from 'botlib';
*/
export class GBConfigService {
public static getServerPort(): number {
if (process.env.PORT !== null) {
if (process.env.PORT) {
return Number(process.env.PORT);
}
if (process.env.port !== null) {
if (process.env.port) {
return Number(process.env.port);
}

Expand Down
1 change: 1 addition & 0 deletions packages/core.gbapp/services/GBDeployer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export class GBDeployer {

return new Promise(
(resolve: any, reject: any): any => {
GBLog.info(`PWD ${process.env.PWD}...`);
let totalPackages = 0;
const additionalPath = GBConfigService.get('ADDITIONAL_DEPLOY_PATH');
let paths = [GBDeployer.deployFolder];
Expand Down

0 comments on commit f1b8eb2

Please sign in to comment.