diff --git a/src/main/resources/com/askimed/nf/test/lang/function/WorkflowMock.nf b/src/main/resources/com/askimed/nf/test/lang/function/WorkflowMock.nf index f04b97bd..75566acd 100644 --- a/src/main/resources/com/askimed/nf/test/lang/function/WorkflowMock.nf +++ b/src/main/resources/com/askimed/nf/test/lang/function/WorkflowMock.nf @@ -21,7 +21,7 @@ include { ${include} } from '${script}' def jsonOutput = new JsonGenerator.Options() .excludeNulls() // Do not include fields with value null.. - .addConverter(Path) { value -> value.toString() } // Custom converter for Path. Only filename + .addConverter(Path) { value -> value.toAbsolutePath().toString() } // Custom converter for Path. Only filename .build() diff --git a/src/main/resources/com/askimed/nf/test/lang/process/WorkflowMock.nf b/src/main/resources/com/askimed/nf/test/lang/process/WorkflowMock.nf index d1d77b51..fed530ce 100644 --- a/src/main/resources/com/askimed/nf/test/lang/process/WorkflowMock.nf +++ b/src/main/resources/com/askimed/nf/test/lang/process/WorkflowMock.nf @@ -18,7 +18,7 @@ include { ${process} } from '${script}' def jsonOutput = new JsonGenerator.Options() .excludeNulls() // Do not include fields with value null.. - .addConverter(Path) { value -> value.toString() } // Custom converter for Path. Only filename + .addConverter(Path) { value -> value.toAbsolutePath().toString() } // Custom converter for Path. Only filename .build() diff --git a/src/main/resources/com/askimed/nf/test/lang/workflow/WorkflowMock.nf b/src/main/resources/com/askimed/nf/test/lang/workflow/WorkflowMock.nf index 268bec33..d2fd28c9 100644 --- a/src/main/resources/com/askimed/nf/test/lang/workflow/WorkflowMock.nf +++ b/src/main/resources/com/askimed/nf/test/lang/workflow/WorkflowMock.nf @@ -18,7 +18,7 @@ include { ${workflow} } from '${script}' def jsonOutput = new JsonGenerator.Options() .excludeNulls() // Do not include fields with value null.. - .addConverter(Path) { value -> value.toString() } // Custom converter for Path. Only filename + .addConverter(Path) { value -> value.toAbsolutePath().toString() } // Custom converter for Path. Only filename .build()