diff --git a/policy.js b/policy.js index 5845abf..46e6d5e 100644 --- a/policy.js +++ b/policy.js @@ -276,6 +276,10 @@ async function processPolicyFlaws(options, flawData) { //console.log('Filepath end: '+filepath); } + if ( filepath == undefined ){ + filepath = filename + } + if ( filepath == "" ){ filepath = filename }