Skip to content

Commit 7a9914a

Browse files
committedSep 11, 2024
feat: integrate warn in fail script
1 parent 95c7cdd commit 7a9914a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎lib/fail.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ export default async function fail(pluginConfig, context, { Octokit }) {
3232

3333
if (failComment === false || failTitle === false) {
3434
logger.log("Skip issue creation.");
35-
// TODO: use logger.warn() instead of logger.log()
36-
logger.log(
35+
logger.warn(
3736
`DEPRECATION: 'false' for 'failComment' or 'failTitle' is deprecated and will be removed in a future major version. Use 'failCommentCondition' instead.`,
3837
);
3938
} else if (failCommentCondition === false) {

0 commit comments

Comments
 (0)
Please sign in to comment.