Skip to content

Commit

Permalink
feat: integrate warn in success script
Browse files Browse the repository at this point in the history
  • Loading branch information
babblebey committed Sep 11, 2024
1 parent 7a9914a commit 792720d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/success.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ export default async function success(pluginConfig, context, { Octokit }) {
logger.log("No commits found in release");
}
logger.log("Skip commenting on issues and pull requests.");
// TODO: use logger.warn() instead of logger.log()
logger.log(
logger.warn(
`DEPRECATION: 'false' for 'successComment' is deprecated and will be removed in a future major version. Use 'successCommentCondition' instead.`,
);
} else if (successCommentCondition === false) {
Expand Down

0 comments on commit 792720d

Please sign in to comment.