diff --git a/modules/nextflow/src/main/groovy/nextflow/config/ConfigBuilder.groovy b/modules/nextflow/src/main/groovy/nextflow/config/ConfigBuilder.groovy index 841a1c9bcc..ab0f0bf76a 100644 --- a/modules/nextflow/src/main/groovy/nextflow/config/ConfigBuilder.groovy +++ b/modules/nextflow/src/main/groovy/nextflow/config/ConfigBuilder.groovy @@ -338,6 +338,7 @@ class ConfigBuilder { binding.put('baseDir', base) binding.put('projectDir', base) binding.put('launchDir', Paths.get('.').toRealPath()) + binding.put('outputDir', Paths.get('results').toRealPath()) binding.put('secrets', SecretsLoader.secretContext()) return binding }