[FIX]Check final lines before write

Merged Gastón Bertolani requested to merge 8.0-final-lines into 8.0-preprod

Merge request reports