Skip to content

Commit

Permalink
Merge pull request #10 from cheton/fix/body-overwritten
Browse files Browse the repository at this point in the history
Fix an issue that body will be overwritten if body is not specified when updating a release
  • Loading branch information
cheton committed Apr 4, 2019
2 parents a44b9da + 56d6e65 commit baa99d9
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 baa99d9

Please sign in to comment.