Skip to content

Commit

Permalink
fix invalid deprecation warnings
Browse files Browse the repository at this point in the history
- fixes #1287
  • Loading branch information
casperdcl committed Dec 15, 2022
1 parent eb5cc77 commit d5f5b9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions bin/legacy/commands/ci.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ const { builder, handler } = require('../../cml/repo/prepare');
exports.command = 'ci';
exports.description = 'Prepare Git repository for CML operations';
exports.handler = handler;
exports.builder = addDeprecationNotice({
builder,
notice: '"cml ci" is deprecated, please use "cml repo prepare"'
});
2 changes: 1 addition & 1 deletion bin/legacy/commands/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ exports.description = false;
exports.handler = handler;
exports.builder = addDeprecationNotice({
builder,
notice: '"cml publish" is deprecated, please use "cml asset publish"'
notice: '"cml publish" is deprecated since "cml comment" now supports "![inline](./asset.png)"'
});

2 comments on commit d5f5b9b

@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

@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

Please sign in to comment.