Skip to content

Commit

Permalink
Fix an issue that body will be overwritten if body is not specified w…
Browse files Browse the repository at this point in the history
…hen updating a release
  • Loading branch information
cheton committed Apr 4, 2019
1 parent a44b9da commit 56d6e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ program
.option('-r, --repo <repo>', 'repo')
.option('-t, --tag <tag>', 'tag')
.option('-n, --name <name>', 'name')
.option('-b, --body <body>', 'body', false)
.option('-b, --body <body>', 'body')
.option('-d, --draft [value]', 'draft', function(val) {
if (String(val).toLowerCase() === 'false') {
return false;
Expand Down

0 comments on commit 56d6e65

Please sign in to comment.