Skip to content

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

Closed

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
    bug
    on Nov 15, 2026
  2. added 5 commits that reference this issue on Nov 18, 2026
    406ecf9
    0196e5b
    53b2fe8
    4958c15
    7e929a8
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions