Skip to content

Commit

Permalink
remove current dir from path
Browse files Browse the repository at this point in the history
  • Loading branch information
julz0815 committed Nov 18, 2024
1 parent c99e765 commit e0d86aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ async function processPipelineFlaws(options, flawData) {
break;
}
}
//remove current directory from the path
result = result.replace(process.cwd()+'/', '')
console.log('Result: '+result)
return result;
}
Expand Down

0 comments on commit e0d86aa

Please sign in to comment.