mirror of
https://github.com/Swatinem/rust-cache
synced 2026-07-09 00:00:16 +00:00
fix credentials cleanup path
This commit is contained in:
parent
3cd715cd54
commit
cb96ac76d8
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ export async function cleanBin(oldBins: Array<string>) {
|
||||||
export async function cleanRegistry(packages: Packages, crates = true) {
|
export async function cleanRegistry(packages: Packages, crates = true) {
|
||||||
// remove `.cargo/credentials.toml`
|
// remove `.cargo/credentials.toml`
|
||||||
try {
|
try {
|
||||||
const credentials = path.join(CARGO_HOME, ".cargo", "credentials.toml");
|
const credentials = path.join(CARGO_HOME, "credentials.toml");
|
||||||
core.debug(`deleting "${credentials}"`);
|
core.debug(`deleting "${credentials}"`);
|
||||||
await fs.promises.unlink(credentials);
|
await fs.promises.unlink(credentials);
|
||||||
} catch {}
|
} catch {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue