trying a manual sync on <#C073ZDLNC92|references>:...
# tools
m
trying a manual sync on #references:
Copy code
nf-core pipelines sync


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

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


WARNING  Could not find GitHub authentication token. Some API requests may fail.                                                                                                                                                           
INFO     Pipeline directory: /home/max/workspace/references                                                                                                                                                                                
INFO     Original pipeline repository branch is 'dev'                                                                                                                                                                                      
INFO     Deleting all files in 'TEMPLATE' branch                                                                                                                                                                                           
INFO     Making a new template pipeline using pipeline variables                                                                                                                                                                           
INFO     Saving metadata file to '/home/max/workspace/references'                                                                                                                                                                          
ERROR    Could not commit changes to TEMPLATE:                                                                                                                                                                                             
         Hook('/home/max/workspace/references/.git/hooks/pre-commit') failed due to: exit code(1)                                                                                                                                          
           cmdline: /home/max/workspace/references/.git/hooks/pre-commit                                                                                                                                                                   
           stdout: 'prettier.................................................................Passed                                                                                                                                        
         Check .editorconfig rules................................................Failed                                                                                                                                                   
         - hook id: editorconfig-checker                                                                                                                                                                                                   
         - exit code: 1                                                                                                                                                                                                                    
                                                                                                                                                                                                                                           
         [33;1mconf/test.config:[33;0m                                                                                                                                                                                                     
         [31;1m  30: Trailing whitespace[33;0m                                                                                                                                                                                             
         [31;1m                                                                                                                                                                                                                            
         1 errors found[33;0m                                                                                                                                                                                                              
                                                                                                                                                                                                                                           
         '
any idea?
p
Some kind of pre-commit error đŸ€”
j
it's probably related to this https://github.com/nf-core/tools/issues/3372 😞 I will fix it in
dev
asap
you could also try checking out to the PR where I started coding the fix https://github.com/nf-core/tools/pull/3371
m
reproduced it with 3.0.2
and fixed it by uninstalling pre-commit
so yeah, that should be it
j
👀 if it also happens with 3.0.2, can you check if running pre-commit before the sync makes any changes? so you can commit them
m
I already have template made with 3.0.2
so I have no changes when I do the template sync with 3.0.2