Move .sarif predicates into UploadTarget instances and rename
This commit is contained in:
parent
71dd63398f
commit
08955dbc0d
6 changed files with 16 additions and 24 deletions
2
lib/upload-lib.test.js
generated
2
lib/upload-lib.test.js
generated
|
|
@ -101,7 +101,7 @@ ava_1.default.beforeEach(() => {
|
|||
path.join(tmpDir, "dir1", "d.sarif"),
|
||||
path.join(tmpDir, "dir1", "dir2", "e.sarif"),
|
||||
]);
|
||||
const qualitySarifFiles = uploadLib.findSarifFilesInDir(tmpDir, uploadLib.qualityIsSarif);
|
||||
const qualitySarifFiles = uploadLib.findSarifFilesInDir(tmpDir, uploadLib.CodeQualityTarget.sarifPredicate);
|
||||
t.deepEqual(qualitySarifFiles, [
|
||||
path.join(tmpDir, "a.quality.sarif"),
|
||||
path.join(tmpDir, "dir1", "b.quality.sarif"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue