3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-06-19 06:43:41 +00:00

lol, dependency check was reversed

This commit is contained in:
Arpad Borsos 2022-07-09 17:37:48 +02:00
parent 7c190ef171
commit 07a2ee71bc
No known key found for this signature in database
GPG key ID: FC7BCA77824B3298
5 changed files with 32 additions and 53 deletions

View file

@ -14,7 +14,7 @@ export class Workspace {
}),
);
for (const pkg of meta.packages) {
if (!pkg.manifest_path.startsWith(this.root)) {
if (pkg.manifest_path.startsWith(this.root)) {
continue;
}
const targets = pkg.targets.filter((t) => t.kind[0] === "lib").map((t) => t.name);