Skip to content

Commit

Permalink
Revert "feat: integrate warn in success script"
Browse files Browse the repository at this point in the history
This reverts commit 85d0ad0.
  • Loading branch information
babblebey committed Sep 6, 2024
1 parent 0a31ced commit 0cb2536
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/success.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export default async function success(pluginConfig, context, { Octokit }) {
logger.log("No commits found in release");
}
logger.log("Skip commenting on issues and pull requests.");
logger.warn(
// TODO: use logger.warn() instead of logger.log()
logger.log(
`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 0cb2536

Please sign in to comment.