diff --git a/src/catalog.rs b/src/catalog.rs index 58db9ed..a5fbc93 100644 --- a/src/catalog.rs +++ b/src/catalog.rs @@ -69,7 +69,10 @@ pub(crate) fn run(args: Args) -> Result<()> { ) .context("writing pnpm-workspace.yaml")?; // So run prettier on it: - std::process::Command::new("prettier") + std::process::Command::new("pnpm") + .arg("exec") + .arg("--") + .arg("prettier") .arg("--write") .arg("pnpm-workspace.yaml") .status()