@asyncapi/cli 2.16.4 → 2.16.5

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.
@@ -53,7 +53,7 @@ class Models extends base_1.default {
53
53
  s.start('Generating models...');
54
54
  try {
55
55
  const generatedModels = yield (0, modelina_cli_1.generateModels)(Object.assign(Object.assign({}, flags), { output }), document, logger, language);
56
- if (output !== 'stdout') {
56
+ if (output && output !== 'stdout') {
57
57
  const generatedModelStrings = generatedModels.map((model) => { return model.modelName; });
58
58
  s.stop((0, picocolors_1.green)(`Successfully generated the following models: ${generatedModelStrings.join(', ')}`));
59
59
  return;
@@ -1771,5 +1771,5 @@
1771
1771
  ]
1772
1772
  }
1773
1773
  },
1774
- "version": "2.16.4"
1774
+ "version": "2.16.5"
1775
1775
  }
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.16.4",
4
+ "version": "2.16.5",
5
5
  "author": "@asyncapi",
6
6
  "bin": {
7
7
  "asyncapi": "./bin/run_bin"