@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');
@@ -1567,5 +1567,5 @@
1567
1567
  ]
1568
1568
  }
1569
1569
  },
1570
- "version": "2.1.0"
1570
+ "version": "2.1.1"
1571
1571
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@asyncapi/cli",
3
3
  "description": "All in one CLI for all AsyncAPI tools",
4
- "version": "2.1.0",
4
+ "version": "2.1.1",
5
5
  "author": "@asyncapi",
6
6
  "bin": {
7
7
  "asyncapi": "./bin/run_bin"