fix credentials cleanup path

This commit is contained in:
Arpad Borsos
2026-07-04 09:51:42 +02:00
parent 3cd715cd54
commit cb96ac76d8
+1 -1
View File
@@ -95,7 +95,7 @@ export async function cleanBin(oldBins: Array<string>) {
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 {}