3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-07-07 15:26:19 +00:00

fix credentials cleanup path

This commit is contained in:
Arpad Borsos 2026-07-04 09:51:42 +02:00
parent 3cd715cd54
commit cb96ac76d8
No known key found for this signature in database
GPG key ID: FC7BCA77824B3298

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 {}