Skip to content

Commit 4d5bc21

Browse files
Fix detection of Conda local path made by Wave client [ci fast] (#4532)
Signed-off-by: Dr Marco Claudio De La Pierre <[email protected]>
1 parent ea1c1b7 commit 4d5bc21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/nf-wave/src/main/io/seqera/wave/plugin/WaveClient.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ class WaveClient {
567567
return false
568568
if( value.startsWith('http://') || value.startsWith('https://') )
569569
return false
570-
if( value.startsWith('/') && !value.contains('/n') )
570+
if( value.startsWith('/') && !value.contains('\n') )
571571
return true
572572
return value.endsWith('.yaml') || value.endsWith('.yml') || value.endsWith('.txt')
573573
}

0 commit comments

Comments
 (0)