Problem with pre commit

What happens

i am having this error: Fix End of Files…Failed

What do you understand or find about that problem

i am reading documentation an i understand that must leave the last line blanck. i leave this last line but this does not work.

Did you try any workaround? What did you do?

I install whiteSpace in visual code and also install trim trailing whiteSpace.
I have left one, two and no line at the end.
Also i leave a line plus a space. I don’t know what else to do

(Optional) Why does the workaround fail?

I don’t know why it does not work

Evidences

This is my pipeline:
https://gitlab.com/autonomicjump/challenges/-/commit/8f9043d5d2d2f48bf0522fbaac16d244457fe0f2
This is error: https://gitlab.com/autonomicjump/challenges/-/jobs/2569907296

I need help with
I have read the forum many times, different questions but none has worked for me, I need a solution because I have an error in the final line

1 Like

Hi,

I see you have made good progress, I recommend you to read your pipeline very carefully. Remember to always have a line break at the end of the file.
imagen

2 Likes