Function warningsToSarifReport

  • Converts an array of warnings to a complete SARIF report.

    Parameters

    • warnings: Warning[]
    • executionSuccessful: boolean = true
    • exitCode: number = 0
    • OptionalrepositoryRoot: string

    Returns SarifReport