Skip to content

Commit

Permalink
Update deploy.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
luhan2017 committed Jun 22, 2021
1 parent 3f375ac commit d304c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/azurePublish/src/node/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class BotProjectDeploy {
}

// Update skill host endpoint
if (Object.keys(settings?.skill).length > 0) {
if (settings?.skill && Object.keys(settings?.skill).length > 0) {
settings.skillHostEndpoint = `https://${hostname}.azurewebsites.net/api/skills`;
}

Expand Down

0 comments on commit d304c72

Please sign in to comment.