Skip to content

cli: fmt: always output content when formatting stdin - #2718

Closed
oliverpool wants to merge 2 commits into
d2lang:masterfrom
oliverpool:master
Closed

oliverpool wants to merge 2 commits into
d2lang:masterfrom
oliverpool:master

Conversation

@oliverpool

Copy link
Copy Markdown

Fixes #1577

@oliverpool

Copy link
Copy Markdown
Author

Superseeded by #3052

@oliverpool oliverpool closed this Nov 26, 2026
opensource-fork-sync Bot pushed a commit to cla7aye15I4nd/opensource-d2lang__d2 that referenced this pull request Nov 26, 2026
Support read-only unified diffs for CI. Return the full formatted source on successful stdin formatting, including unchanged input, following the behavior proposed in d2lang#2718.

- sent from alixander's Codex
@alixander

Copy link
Copy Markdown
Collaborator

sry for dropping this, thx anyway @oliverpool

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.

fmt from stdout should always output the formatted diagram

2 participants