Skip to content

fix: restore em dash in CLI help header - #24

Merged
kory-kaai merged 1 commit into
mainfrom
fix/restore-em-dash-in-cli-help
Aug 25, 2026
Merged

kory-kaai merged 1 commit into
mainfrom
fix/restore-em-dash-in-cli-help

Conversation

@kory-kaai

Copy link
Copy Markdown
Owner

Summary

The em dash in the shipkit --help header was double-encoded: the correct
UTF-8 bytes E2 80 94 had been decoded as CP437 and re-encoded as UTF-8,
producing CE 93 C3 87 C3 B6.

Every user running shipkit --help saw the mojibake sequence in the first line
of output.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Chore / CI

Verification

Byte check on lib/cli.mjs line 18:

Bytes
Before CE 93 C3 87 C3 B6
After E2 80 94

node bin/shipkit.mjs --help now prints:

shipkit — safe OSS release workflow
  • npm test — 8/8 passing
  • Repository scanned for other occurrences; this was the only one

Checklist

  • npm test passes locally
  • Tests added or updated in lib/*.test.mjs for behavior changes
  • Commit messages follow Conventional Commits
  • PR is focused on one logical change
  • Co-author trailers, if any, name human GitHub accounts only

Release impact

None. The change affects only the help text string.

The em dash in the --help header was double-encoded (UTF-8 bytes
E2 80 94 read as CP437 and re-encoded), so every user running
shipkit --help saw a mojibake sequence in the first line.
@kory-kaai
kory-kaai merged commit ae14bb9 into main Aug 25, 2026
1 check passed
@kory-kaai
kory-kaai deleted the fix/restore-em-dash-in-cli-help branch August 25, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant