Skip to content

ci-demand: a config file with a UTF-8 BOM is refused #122

Open

Description

@scuttletoby

A ci-demand config file saved as UTF-8 with a byte-order mark (some Windows editors do this) is refused with exit 2.

Fix: read the config as utf-8-sig (or strip the BOM) and add a test. A failing test was written during the review.

From the quick-check review of #113: #113 (comment)

🤖 Generated with Claude Code

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions