Skip to content

ignore BOM when reading ci yml file

username-removed-884928 requested to merge bmerrill_nv/gitlab-ce:master into master

What does this MR do?

Adds BOM ignore support for .gitlab-ci.yml file reading. Fix was based on Ruby fix recommendation from here: http://stackoverflow.com/questions/5011504/is-there-a-way-to-remove-the-bom-from-a-utf-8-encoded-file.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

workaround for when your editor (Visual Studio) keeps putting BOM on files.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports