Skip to content

Commit

Permalink
Remove default commitSha flag value.
Browse files Browse the repository at this point in the history
  • Loading branch information
tasdomas committed Nov 3, 2022
1 parent 85281d9 commit f1f4f62
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion bin/cml/comment/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ exports.options = kebabcaseKeys({
commitSha: {
type: 'string',
alias: 'head-sha',
default: 'HEAD',
description: 'Commit SHA linked to this comment'
},
watch: {
Expand Down
3 changes: 1 addition & 2 deletions bin/cml/comment/create.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ describe('Comment integration tests', () => {
[string] [default: \\"auto\\"]
--pr Post to an existing PR/MR associated with the
specified commit [boolean]
--commit-sha, --head-sha Commit SHA linked to this comment
[string] [default: \\"HEAD\\"]
--commit-sha, --head-sha Commit SHA linked to this comment [string]
--watch Watch for changes and automatically update the
comment [boolean]
--publish Upload any local images found in the Markdown
Expand Down

2 comments on commit f1f4f62

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.