Skip to content

Commit

Permalink
Fix prettier after catalog add.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbuchan committed Aug 13, 2024
1 parent e248ad0 commit d7f59c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d7f59c0

Please sign in to comment.