MCPcopy
hub / github.com/snyk/cli / shouldPrintEffectiveDepGraphWithErrors

Function shouldPrintEffectiveDepGraphWithErrors

src/lib/snyk-test/common.ts:239–241  ·  view source on GitHub ↗
(opts: Options)

Source from the content-addressed store, hash-verified

237 * This is used to determine if the effective dep-graph with errors should be printed.
238 */
239export function shouldPrintEffectiveDepGraphWithErrors(opts: Options): boolean {
240 return !!opts['print-effective-graph-with-errors'];
241}
242
243/**
244 * getOrCreateErrorCatalogError returns a ProblemError instance for consistent error catalog usage.

Callers 2

assembleLocalPayloadsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected