Silence prettier logs during crate readme generation (#17271)
These were interleaved in stderr and are just noise.
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user