1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/tests/specs/fmt/css
Bartek Iwańczuk 3242550f5f
fix(fmt): --check was broken for CSS, YAML and HTML (#25848)
`deno fmt --check` was broken for CSS, YAML and HTML files.

Before this PR, formatting any of these file types would return a
string, even though the contract in `cli/tools/fmt.rs` is to only return a
string if the formatting changed. This causes wrong flagging of these files
as being badly formatted even though diffs showed nothing (because
they were in fact formatted properly).

Closes https://github.com/denoland/deno/issues/25840
2024-09-24 15:54:48 +02:00
..
__test__.jsonc fix(fmt): --check was broken for CSS, YAML and HTML (#25848) 2024-09-24 15:54:48 +02:00
badly_formatted.css feat(fmt): stabilize CSS, HTML and YAML formatters (#25753) 2024-09-23 18:01:04 +02:00
well_formatted.css fix(fmt): --check was broken for CSS, YAML and HTML (#25848) 2024-09-24 15:54:48 +02:00