Skip to content

Commit

Permalink
Merge pull request #1410 from Vacxe/fix-misleading-javadoc
Browse files Browse the repository at this point in the history
fix(javadoc): fail and warn functions fix misleading documentation
  • Loading branch information
orta committed Nov 1, 2023
2 parents fdc1c49 + f050b4c commit 263bcd2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/runner/Dangerfile.ts
Expand Up @@ -27,7 +27,7 @@ export interface DangerContext {
schedule(asyncFunction: Scheduleable): void

/**
* Fails a build, outputting a specific reason for failing into a HTML table.
* Highlights critical issues. Message is shown inside a HTML table.
*
* @param {MarkdownString} message the String to output
* @param {string | undefined} file a file which this message should be attached to
Expand All @@ -36,8 +36,7 @@ export interface DangerContext {
fail(message: MarkdownString, file?: string, line?: number): void

/**
* Highlights low-priority issues, but does not fail the build. Message
* is shown inside a HTML table.
* Highlights low-priority issues. Message is shown inside a HTML table.
*
* @param {MarkdownString} message the String to output
* @param {string | undefined} file a file which this message should be attached to
Expand Down

0 comments on commit 263bcd2

Please sign in to comment.