Skip to content

Do not error when no versions emitted but topics are #3771

@maxulysse

Description

@maxulysse

Description of the bug

It would be nice to have a warning, when a versions is emitted, a success if a topics versions is.
And a failure when neither

cf nf-core/modules#8978

Command used and terminal output

│ bwamem2/index  │ modules/nf-core/bwamem2/in… │ Missing emit statement: tuple │
│                │                             │ val("${task.process}"),       │
│                │                             │ val('bwa-mem2'),              │
│                │                             │ eval("bwa-mem2 version 2>&1 | │
│                │                             │ tail -1"), topic: versions    │

System information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions