Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/restore/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -250222,7 +250222,7 @@ async function cleanBin(oldBins) {
async function cleanRegistry(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);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/save/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/cleanup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down