Skip to content

Commit

Permalink
Merge pull request #17 from veracode/addRepoName
Browse files Browse the repository at this point in the history
fix filepath for policy
  • Loading branch information
julz0815 authored Apr 2, 2024
2 parents 0c00c8a + c4eb95e commit 14b6429
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ async function processPolicyFlaws(options, flawData) {
//console.log('Filepath end: '+filepath);
}

if ( filepath == undefined ){
filepath = filename
}

if ( filepath == "" ){
filepath = filename
}
Expand Down

0 comments on commit 14b6429

Please sign in to comment.