Skip to content

Fix linting with rocrate_readme_sync throws error if there is any changed file in directory #3683

@jonasscheid

Description

@jonasscheid

Description of the bug

I do have a clean commit history, nothing is staged, but if I run

nf-core pipelines lint --fix rocrate_readme_sync

                                      ,--./,-.
      ___     __   __   __   ___     /,-._.--~\ 
|\ | |__  __ /  ` /  \ |__) |__         }  {
| \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                      `._,._,'

nf-core/tools version 3.3.2 - https://nf-co.re

INFO Testing pipeline: .
INFO Attempting to automatically fix failing tests
CRITICAL Critical error: Uncommitted changes found in pipeline directory!
Please commit these before running with '--fix'
INFO Stopping tests...

Command run on branch https://github.com/jonasscheid/mhcquant/tree/template-merge-332 branch

Command used and terminal output

nf-core pipelines lint --fix rocrate_readme_sync

System information

  • Nextflow version 25.04.6 build 5954
  • Gitpod

Metadata

Metadata

Assignees

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