Fix incorrect getSarifFilePaths call in upload-sarif action
This commit is contained in:
parent
08955dbc0d
commit
9ec0bb9605
3 changed files with 6 additions and 3 deletions
|
|
@ -97,7 +97,10 @@ async function run() {
|
|||
core.setOutput("sarif-id", uploadResult.sarifID);
|
||||
|
||||
// If there are `.quality.sarif` files in `sarifPath`, then upload those to the code quality service.
|
||||
const qualitySarifFiles = upload_lib.getSarifFilePaths(sarifPath);
|
||||
const qualitySarifFiles = upload_lib.getSarifFilePaths(
|
||||
sarifPath,
|
||||
upload_lib.CodeQualityTarget.sarifPredicate,
|
||||
);
|
||||
|
||||
if (qualitySarifFiles.length !== 0) {
|
||||
await upload_lib.uploadSpecifiedFiles(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue