From e0d86aa0d9753e843f046b7e93beddf93bcab0c7 Mon Sep 17 00:00:00 2001 From: Julian Totzek-Hallhuber Date: Mon, 18 Nov 2024 12:41:17 +0100 Subject: [PATCH] remove current dir from path --- pipeline.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline.js b/pipeline.js index 0d72030..1267318 100644 --- a/pipeline.js +++ b/pipeline.js @@ -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; }