We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1559fc8 commit c835941Copy full SHA for c835941
1 file changed
lib/commands/log.js
@@ -14,14 +14,6 @@ export default class extends Command {
14
"type": "boolean",
15
},
16
17
- "release": {
18
- "short": "r",
19
- "description": "show chamges for release",
20
- "default": false,
21
- "schema": {
22
- "type": "boolean",
23
- },
24
25
"stable": {
26
"short": "s",
27
"description": "compare with the previous stable release",
@@ -54,7 +46,9 @@ export default class extends Command {
54
46
// get changelog
55
47
res = await git.getChangelog( {
56
48
"commitRef": process.cli.arguments.release,
57
- "release": process.cli.options.release,
49
+ "release": process.cli.arguments.release
50
+ ? false
51
+ : true,
58
52
"stable": process.cli.options.stable,
59
53
"commitTypes": pkg.cliConfig?.commits.types,
60
} );
0 commit comments