Skip to content

fix(ci): show full cleanupcode command in style-drift error message#201

Merged
tig merged 1 commit into
developfrom
tig/fix-ci-style-drift-error-message
May 21, 2026
Merged

fix(ci): show full cleanupcode command in style-drift error message#201
tig merged 1 commit into
developfrom
tig/fix-ci-style-drift-error-message

Conversation

@tig
Copy link
Copy Markdown
Member

@tig tig commented May 21, 2026

Summary

The CI style-drift error message previously told contributors to run:

dotnet jb cleanupcode Terminal.Gui.Editor.slnx --profile="TG.Editor Full Cleanup"

This omitted the critical --no-build and --exclude flags that CI itself uses. A contributor following this advice would:

  1. Get build errors (missing --no-build)
  2. See 55+ files changed because forked AvaloniaEdit files get reformatted (missing --exclude)

The error message now shows the full command matching CI's actual invocation.

Fixes #200

The error message previously omitted --no-build and --exclude flags,
causing contributors to get build errors and reformat 55+ forked
AvaloniaEdit files when following the advice verbatim.

Fixes #200

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tig tig merged commit 2a2d92b into develop May 21, 2026
8 checks passed
@tig tig deleted the tig/fix-ci-style-drift-error-message branch May 21, 2026 14:16
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.

CI style-drift error message shows incomplete cleanupcode command

1 participant