diff --git a/bin/cml/comment/create.js b/bin/cml/comment/create.js index 59ea2a60d..8036dca6f 100644 --- a/bin/cml/comment/create.js +++ b/bin/cml/comment/create.js @@ -24,6 +24,7 @@ exports.options = kebabcaseKeys({ }, publish: { type: 'boolean', + default: true, description: 'Upload any local images found in the Markdown report' }, publishUrl: { diff --git a/bin/cml/comment/create.test.js b/bin/cml/comment/create.test.js index a7a8a28ec..e9245a437 100644 --- a/bin/cml/comment/create.test.js +++ b/bin/cml/comment/create.test.js @@ -23,7 +23,7 @@ describe('Comment integration tests', () => { --commit-sha, --head-sha Commit SHA linked to this comment [string] [default: \\"HEAD\\"] --publish Upload any local images found in the Markdown report - [boolean] + [boolean] [default: true] --publish-url Self-hosted image server URL [string] [default: \\"https://asset.cml.dev\\"] --watch Watch for changes and automatically update the