File tree Expand file tree Collapse file tree
main/groovy/nextflow/extension
test/groovy/nextflow/script Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ class PublishOp {
138138
139139 // if the resolved publish path is a string, resolve it
140140 // against the base output directory
141- if ( resolvedPath instanceof String )
142- return outputDir. resolve(resolvedPath)
141+ if ( resolvedPath instanceof CharSequence )
142+ return outputDir. resolve(resolvedPath. toString() )
143143
144144 // if the resolved publish path is a closure, use the closure
145145 // to transform each published file and resolve it against
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class OutputDslTest extends Specification {
5656
5757 when :
5858 dsl. target(' bar' ) {
59- path( ' barbar' )
59+ path { v -> " ${ 'barbar'} " }
6060 index {
6161 path ' index.csv'
6262 }
You can’t perform that action at this time.
0 commit comments