Content-Length: 257269 | pFad | https://github.com/semantic-release/github/commit/7a9914a30247cef045bf0cebaac3970318408c1c

3C feat: integrate `warn` in `fail` script · semantic-release/github@7a9914a · GitHub
Skip to content

Commit 7a9914a

Browse files
committed
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

Lines changed: 1 addition & 2 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/semantic-release/github/commit/7a9914a30247cef045bf0cebaac3970318408c1c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy