Skip to content

Commit 792720d

Browse files
committedSep 11, 2024
feat: integrate warn in success script
1 parent 7a9914a commit 792720d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎lib/success.js

+1-2
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)
Please sign in to comment.