@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;
|
package/oclif.manifest.json
CHANGED