Skip to content

fix(cli): single trailing newline on css-tailwind export#140

Open
drmikecrypto wants to merge 1 commit into
google-labs-code:mainfrom
drmikecrypto:fix/css-export-newline-and-missing-file
Open

fix(cli): single trailing newline on css-tailwind export#140
drmikecrypto wants to merge 1 commit into
google-labs-code:mainfrom
drmikecrypto:fix/css-export-newline-and-missing-file

Conversation

@drmikecrypto

Copy link
Copy Markdown

Use stdout.write because serializeTailwindV4 already ends with one newline; console.log added a second byte that broke git diff --check.

Also exit cleanly on missing DESIGN.md with a friendly message instead of dumping a Node stack trace after the JSON error.

Fixes #139
Fixes #132

Use stdout.write because serializeTailwindV4 already ends with one
newline; console.log added a second byte that broke git diff --check.

Also exit cleanly on missing DESIGN.md with a friendly message instead
of dumping a Node stack trace after the JSON error.

Fixes google-labs-code#139
Fixes google-labs-code#132
@google-cla

google-cla Bot commented Jun 27, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@drmikecrypto drmikecrypto force-pushed the fix/css-export-newline-and-missing-file branch from cd8c7fa to 19c09c4 Compare June 27, 2026 15:26
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.

css-tailwind export emits an extra trailing newline ENOENT: no such file or directory error when DESIGN.md is missing

1 participant