Skip to content

Commit

Permalink
feat: integrate warn in fail script
Browse files Browse the repository at this point in the history
  • Loading branch information
babblebey committed Sep 11, 2024
1 parent 95c7cdd commit 7a9914a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/fail.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ export default async function fail(pluginConfig, context, { Octokit }) {

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

0 comments on commit 7a9914a

Please sign in to comment.