@asyncapi/cli 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -272,7 +272,7 @@ class Template extends base_1.default {
|
|
|
272
272
|
const s = interactive ? (0, prompts_1.spinner)() : { start: () => null, stop: (string) => console.log(string) };
|
|
273
273
|
s.start('Generation in progress. Keep calm and wait a bit');
|
|
274
274
|
try {
|
|
275
|
-
yield generator.generateFromString(specification.text(), genOption);
|
|
275
|
+
yield generator.generateFromString(specification.text(), Object.assign(Object.assign({}, genOption), { path: asyncapi }));
|
|
276
276
|
}
|
|
277
277
|
catch (err) {
|
|
278
278
|
s.stop('Generation failed');
|
package/oclif.manifest.json
CHANGED