We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ab654 commit 15f19acCopy full SHA for 15f19ac
src/upload-lib.ts
@@ -444,8 +444,8 @@ export function readSarifFile(sarifFilePath: string): SarifFile {
444
}
445
446
447
-// Validates that the given file path refers to a valid SARIF file.
448
-// Throws an error if the file is invalid.
+// Validates the given SARIF object and throws an error if the SARIF object is invalid.
+// The file path is only used in error messages to improve clarity.
449
export function validateSarifFileSchema(
450
sarif: SarifFile,
451
sarifFilePath: string,
0 commit comments