Skip to content

Commit

Permalink
debug search file
Browse files Browse the repository at this point in the history
  • Loading branch information
julz0815 committed Nov 18, 2024
1 parent e0d86aa commit 49baeb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,13 @@ async function processPipelineFlaws(options, flawData) {
result = searchFile(fullPath, filename);
if (result) break;
} else if (file === filename) {
console.log('File found: '+fullPath)
result = fullPath;
break;
}
}
//remove current directory from the path
result = result.replace(process.cwd()+'/', '')
//result = result.replace(process.cwd()+'/', '')
console.log('Result: '+result)
return result;
}
Expand Down

0 comments on commit 49baeb6

Please sign in to comment.