Run npm run build
This commit is contained in:
parent
483c94b974
commit
847f4ef293
14 changed files with 79 additions and 77 deletions
4
lib/upload-lib.js
generated
4
lib/upload-lib.js
generated
|
|
@ -75,8 +75,8 @@ async function upload(sarifPath, repositoryNwo, commitOid, ref, analysisKey, ana
|
|||
.readdirSync(sarifPath)
|
||||
.filter((f) => f.endsWith(".sarif"))
|
||||
.map((f) => path.resolve(sarifPath, f));
|
||||
for (const path of paths) {
|
||||
sarifFiles.push(path);
|
||||
for (const filepath of paths) {
|
||||
sarifFiles.push(filepath);
|
||||
}
|
||||
if (sarifFiles.length === 0) {
|
||||
throw new Error(`No SARIF files found to upload in "${sarifPath}".`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue