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:
parent
65012b4902
commit
6cf33315ce
3 changed files with 3 additions and 3 deletions
|
|
@ -110,7 +110,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 {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue