Skip to content

Commit 24314b1

Browse files
authored
Fix "Strings must not be null" error message (#6404)
Signed-off-by: Ben Sherman <[email protected]>
1 parent 3eddfad commit 24314b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/nextflow/src/main/groovy/nextflow/script/ScriptMeta.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class ScriptMeta {
256256
final result = new HashSet(definitions.size() + imports.size())
257257
// local definitions
258258
for( def item : definitions.values() ) {
259-
if( item instanceof WorkflowDef )
259+
if( item instanceof WorkflowDef && item.name != null )
260260
result.add(item.name)
261261
}
262262
// processes from imports

0 commit comments

Comments
 (0)