Description of the bug
The pipeline is continuing to restart even with the -resume flag
Command used and terminal output
nextflow run main.nf -c nextflow.config -resume -profile biowulf,slurm
Still fails even if the -w flag has been set
nextflow run main.nf -c nextflow.config -resume -profile biowulf,slurm -w work/
It does NOT fail when resume is at the end of the line
nextflow run main.nf -c nextflow.config -profile biowulf,slurm -resume -w work/