We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb27cc6 commit 498177dCopy full SHA for 498177d
bin/cli.js
@@ -82,6 +82,10 @@ cli.command('list', 'List changesets')
82
if (options.versions || options.minorVersions)
83
results = results.map(r => r.version);
84
85
+ // If the result is empty, do not output anything
86
+ if (results.length == 0)
87
+ return;
88
+
89
// Output in json format or plain
90
if (options.prettyJson) {
91
console.log(JSON.stringify(results, null, ' '));
0 commit comments