MCPcopy
hub / github.com/danger/danger-js / ExecutorOptions

Interface ExecutorOptions

source/runner/Executor.ts:45–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43import { writeFileSync } from "fs"
44
45export interface ExecutorOptions {
46 /** Should we do a text-only run? E.g. skipping comments */
47 stdoutOnly: boolean
48 /** Should the output be submitted as a JSON string? */
49 jsonOnly: boolean
50 /** Should Danger post as much info as possible */
51 verbose: boolean
52 /** A unique ID to handle multiple Danger runs */
53 dangerID: string
54 /** Don't send the entire JSON via STDIN, instead store it in tmp, and give the paths */
55 passURLForDSL: boolean
56 /** Disable Checks support in GitHub */
57 disableGitHubChecksSupport?: boolean
58 /** Fail if danger report contains failures */
59 failOnErrors?: boolean
60 /** Dont add danger check to PR */
61 noPublishCheck?: boolean
62 /** Ignore inline-comments that are in lines which were not changed */
63 ignoreOutOfDiffComments: boolean
64 /** Makes Danger post a new comment instead of editing its previous one */
65 newComment?: boolean
66 /** Removes all previous comment and create a new one in the end of the list */
67 removePreviousComments?: boolean
68}
69// This is still badly named, maybe it really should just be runner?
70
71const isTests = typeof jest === "object"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected