8000 Revert "feat: integrate `warn` in `success` script" · semantic-release/github@0cb2536 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cb2536

Browse files
committed
Revert "feat: integrate warn in success script"
This reverts commit 85d0ad0.
1 parent 0a31ced commit 0cb2536

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/success.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ export default async function success(pluginConfig, context, { Octokit }) {
6161
logger.log("No commits found in release");
6262
}
6363
logger.log("Skip commenting on issues and pull requests.");
64-
logger.warn(
64+
// TODO: use logger.warn() instead of logger.log()
65+
logger.log(
6566
`DEPRECATION: 'false' for 'successComment' is deprecated and will be removed in a future major version. Use 'successCommentCondition' instead.`,
6667
);
6768
} else if (successCommentCondition === false) {

0 commit comments

Comments
 (0)
0