Skip to content

Commit 502baaa

Browse files
fix: fix authoring-budnle-meta.xml to .bundle-meta.xml
1 parent d493f08 commit 502baaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ export class Agent {
367367
const response = await maybeMock.request<PublishAgentJsonResponse>('POST', url, { agentJson });
368368
if (response.botId && response.botVersionId) {
369369
// we've published the AgentJson, now we need to:
370-
// 1. update the AuthoringBundle-meta.xml file with response.BotId
370+
// 1. update the AuthoringBundle's -meta.xml file with response.BotId
371371
// 2. retrieve the new Agent metadata that's in the org
372372
const defaultPackagePath = path.resolve(project.getDefaultPackage().path);
373373

@@ -386,7 +386,7 @@ export class Agent {
386386
}
387387

388388
// Construct the full file path whether we found the directory or not
389-
const bundleMetaPath = path.join(bundleDir, `${developerName}.authoring-bundle-meta.xml`);
389+
const bundleMetaPath = path.join(bundleDir, `${developerName}.bundle-meta.xml`);
390390

391391
const xmlParser = new XMLParser({ ignoreAttributes: false });
392392
const xmlBuilder = new XMLBuilder({

0 commit comments

Comments
 (0)