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

Skip to content

Commit 85d0ad0

Browse files
committed
feat: integrate warn in success script
1 parent 0843ffe commit 85d0ad0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/success.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ 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-
// TODO: use logger.warn() instead of logger.log()
65-
logger.log(
64+
logger.warn(
6665
`DEPRECATION: 'false' for 'successComment' is deprecated and will be removed in a future major version. Use 'successCommentCondition' instead.`,
6766
);
6867
} else if (successCommentCondition === false) {

0 commit comments

Comments
 (0)
0