3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2026-05-14 23:15:30 +00:00

Remove .cargo from credentials.toml cleanup path

This commit is contained in:
David Steele 2026-05-12 09:03:37 +01:00
parent 65012b4902
commit 6cf33315ce
No known key found for this signature in database
GPG key ID: E05974C8AE501FC6
3 changed files with 3 additions and 3 deletions

2
dist/save/index.js vendored
View file

@ -250222,7 +250222,7 @@ async function cleanBin(oldBins) {
async function cleanRegistry(packages, crates = true) {
// remove `.cargo/credentials.toml`
try {
const credentials = external_path_default().join(CARGO_HOME, ".cargo", "credentials.toml");
const credentials = external_path_default().join(CARGO_HOME, "credentials.toml");
core_debug(`deleting "${credentials}"`);
await external_fs_default().promises.unlink(credentials);
}