Skip to content

Commit

Permalink
docs: update command docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nzhl committed Nov 18, 2022
1 parent bfc9861 commit d17a74f
Show file tree
Hide file tree
Showing 2 changed files with 140 additions and 113 deletions.
4 changes: 2 additions & 2 deletions .ci/print-command-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const command = cmd.command({
if (gitStatus.state === "dirty") {
process.exitCode = 1
console.error(
"The file has changed. Please re-run `yarn generate-command-docs`."
"The file has changed. Please re-run `pnpm generate-command-docs`."
)
console.error(`hint: The following diff was found:`)
console.error()
Expand Down Expand Up @@ -76,7 +76,7 @@ async function main(targetFile, fnmPath) {

stream.close()

await execa(`yarn`, ["prettier", "--write", targetFile])
await execa(`pnpm`, ["prettier", "--write", targetFile])
}

/**
Expand Down
Loading

0 comments on commit d17a74f

Please sign in to comment.