diff --git a/extensions/azurePublish/src/node/deploy.ts b/extensions/azurePublish/src/node/deploy.ts index 05f5ea9201..1ff9b10903 100644 --- a/extensions/azurePublish/src/node/deploy.ts +++ b/extensions/azurePublish/src/node/deploy.ts @@ -193,6 +193,7 @@ export class BotProjectDeploy { const manifest = await fs.readJson(path.join(skillSettingsPath, manifestFile)); + manifest.endpoints = manifest.endpoints || []; const endpointIndex = manifest.endpoints.findIndex((x) => x.name === profileName); if (endpointIndex > -1) { // already exists