Skip to content

Commit

Permalink
fix: force delete tsbuildinfo (#426)
Browse files Browse the repository at this point in the history
Fixes the release process failing like here:
https://github.com/celo-org/developer-tooling/actions/runs/11813422762/job/32910435812

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the `clean` script in the `packages/cli/package.json`
file to ensure it forcefully removes the `tsconfig.tsbuildinfo` file by
adding the `-f` flag to the `rm` command.

### Detailed summary
- Modified the `clean` script:
- Changed `rm tsconfig.tsbuildinfo` to `rm -f tsconfig.tsbuildinfo` to
force the removal of the file.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
nicolasbrugneaux authored Nov 13, 2024
1 parent 775bd31 commit 9df4bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"node": ">=16"
},
"scripts": {
"clean": "rm tsconfig.tsbuildinfo && yarn run --top-level tsc -b . --clean",
"clean": "rm -f tsconfig.tsbuildinfo && yarn run --top-level tsc -b . --clean",
"dev": "yarn build && ts-node ./bin/dev.js",
"build": "yarn run --top-level tsc -b .",
"docs": "./generate_docs.sh",
Expand Down

0 comments on commit 9df4bbf

Please sign in to comment.