From 9df4bbf6ecf450b8d2482199ea20a89869ca5e80 Mon Sep 17 00:00:00 2001 From: Nicolas Brugneaux Date: Wed, 13 Nov 2024 10:24:14 +0100 Subject: [PATCH] fix: force delete tsbuildinfo (#426) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the release process failing like here: https://github.com/celo-org/developer-tooling/actions/runs/11813422762/job/32910435812 --- ## 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}` --- packages/cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index e5e021403..5e04741f6 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -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",