Silence prettier logs during crate readme generation (#17271)

These were interleaved in stderr and are just noise.
This commit is contained in:
Zanie Blue
2025-12-30 09:46:59 -06:00
committed by GitHub
parent 0dc9556adb
commit b5660cec26
+2
View File
@@ -152,6 +152,8 @@ def main() -> None:
subprocess.run(
["npx", "prettier", "--write"] + [str(path) for path in generated_paths],
check=True,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
)