Skip to content

Commit

Permalink
Merge master into bot/bump-@asyncapi/bundler-0.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot-eve authored Jul 16, 2024
2 parents 163d247 + c1e1b39 commit 0c44b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/generate/fromTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export default class Template extends Command {
const s = interactive ? spinner() : { start: () => null, stop: (string: string) => console.log(string) };
s.start('Generation in progress. Keep calm and wait a bit');
try {
await generator.generateFromString(specification.text(), genOption);
await generator.generateFromString(specification.text(), {...genOption, path: asyncapi});
} catch (err: any) {
s.stop('Generation failed');
throw new GeneratorError(err);
Expand Down

0 comments on commit 0c44b13

Please sign in to comment.