Fix End of Files error

What happens

The pipeline test-code specific test_generics failed

What do you understand or find about that problem

I’m getting failed process:

Fix End of Files.........................................................Failed
- hook id: end-of-file-fixer
- duration: 0.05s
- exit code: 1
- files were modified by this hook
Fixing code/codeabbey/003/LINK.lst
Fixing code/codeabbey/003/dsernag.curry
Fixing code/codeabbey/003/dsernag.yml

You make any workaround? What did you do?

I don’t know how to procede.

Evidences

Commit link: sol(code): #0 codeabbey, 003 (2.28) (9c469caf) · Commits · Autonomic Jump / challenges · GitLab
Specific pipeline error: https://gitlab.com/autonomicjump/challenges/-/jobs/1393625949

I need help with

I need help to figure out what to do. If some specific hand could advise me about the error I’m be grateful. I suppose is a ridiculous mistake.

Hi
This issue has been already addressed on this community:

Make sure to check the CI logs and search in the already existing posts before creating duplicated threads.

You should also make a research on that issue to understand what means and how to fix it.

I’ve had changing the entire post. I’m really stuck about this pipeline. Thanks for specific help.

After running “pre-commit” on your files this error should have been resolved, however check this

1 Like

What happens

I have the same error but the given solution does not work for my program

What do you understand or find about that problem

This is the failed process

Fix End of Files…Failed

  • hook id: end-of-file-fixer
  • duration: 0.08s
  • exit code: 1
  • files were modified by this hook

(Optional) Why fails your workaround?

Explain why fails your workaround.

Evidences

https://gitlab.com/autonomicjump/challenges/-/jobs/1457119426

I need help with

What is the solution to the error or how could you address this failed process

The specific solution is that every file you upload must end with a new blank line; just one line. Try that fix!

3 Likes