From cb96ac76d8d56117e63ac1fd64a2ff8754b9fbb5 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Sat, 4 Jul 2026 09:51:42 +0200 Subject: [PATCH] fix `credentials` cleanup path --- src/cleanup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cleanup.ts b/src/cleanup.ts index c40367c..744ab72 100644 --- a/src/cleanup.ts +++ b/src/cleanup.ts @@ -95,7 +95,7 @@ export async function cleanBin(oldBins: Array) { export async function cleanRegistry(packages: Packages, crates = true) { // remove `.cargo/credentials.toml` try { - const credentials = path.join(CARGO_HOME, ".cargo", "credentials.toml"); + const credentials = path.join(CARGO_HOME, "credentials.toml"); core.debug(`deleting "${credentials}"`); await fs.promises.unlink(credentials); } catch {}