Skip to content

Commit 555470e

Browse files
chore: fix aiAuthoringBundle in --output-dir
1 parent 1524db3 commit 555470e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/agent/generate/authoring-bundle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ export default class AgentGenerateAuthoringBundle extends SfCommand<AgentGenerat
8383

8484
try {
8585
// Get default output directory if not specified
86-
const defaultOutputDir = join(this.project!.getDefaultPackage().fullPath, 'main', 'default', 'aiAuthoringBundle');
87-
const targetOutputDir = join(outputDir ?? defaultOutputDir, name);
86+
const defaultOutputDir = join(this.project!.getDefaultPackage().fullPath, 'main', 'default');
87+
const targetOutputDir = join(outputDir ?? defaultOutputDir, 'aiAuthoringBundle', name);
8888

8989
// Generate file paths
9090
const afScriptPath = join(targetOutputDir, `${name}.afscript`);

0 commit comments

Comments
 (0)