diff --git a/dist/restore/index.js b/dist/restore/index.js index 51219fe..64298cf 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -67048,9 +67048,7 @@ class CacheConfig { } // Package without `[[package]].source` and `[[package]].checksum` // are the one with `path = "..."` to crates within the workspace. - const packages = parsed.package.filter((p) => { - "source" in p || "checksum" in p; - }); + const packages = parsed.package.filter((p) => "source" in p || "checksum" in p); hasher.update(JSON.stringify(packages)); parsedKeyFiles.push(cargo_lock); } diff --git a/dist/save/index.js b/dist/save/index.js index a11263d..a6d9c5d 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -67048,9 +67048,7 @@ class CacheConfig { } // Package without `[[package]].source` and `[[package]].checksum` // are the one with `path = "..."` to crates within the workspace. - const packages = parsed.package.filter((p) => { - "source" in p || "checksum" in p; - }); + const packages = parsed.package.filter((p) => "source" in p || "checksum" in p); hasher.update(JSON.stringify(packages)); parsedKeyFiles.push(cargo_lock); } diff --git a/src/config.ts b/src/config.ts index 07b2eaf..598ab0b 100644 --- a/src/config.ts +++ b/src/config.ts @@ -198,9 +198,7 @@ export class CacheConfig { // Package without `[[package]].source` and `[[package]].checksum` // are the one with `path = "..."` to crates within the workspace. - const packages = parsed.package.filter((p: any) => { - "source" in p || "checksum" in p; - }); + const packages = parsed.package.filter((p: any) => "source" in p || "checksum" in p); hasher.update(JSON.stringify(packages));