Skip to content

Commit e722241

Browse files
committed
Disable CLI params type casting for v2 parser
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
1 parent b3e79ba commit e722241

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/nextflow/src/main/groovy/nextflow/cli/CmdRun.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ class CmdRun extends CmdBase implements HubOptions {
704704
}
705705

706706
static protected parseParamValue(String str) {
707-
if ( SysEnv.get('NXF_DISABLE_PARAMS_TYPE_DETECTION') )
707+
if ( SysEnv.get('NXF_DISABLE_PARAMS_TYPE_DETECTION') || NF.isSyntaxParserV2() )
708708
return str
709709

710710
if ( str == null ) return null

0 commit comments

Comments
 (0)