@storm-software/workspace-tools 1.166.1 → 1.167.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +2 -1
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/plugins/rust/index.js +2 -4
package/package.json
CHANGED
|
@@ -397,12 +397,12 @@ var createDependencies = (_, context) => {
|
|
|
397
397
|
}
|
|
398
398
|
const { packages: cargoPackages } = metadata;
|
|
399
399
|
const dependencies = [];
|
|
400
|
-
console.log(`Cargo packages found: ${JSON.stringify(cargoPackages)}`);
|
|
401
400
|
for (const pkg of cargoPackages) {
|
|
402
401
|
if (context.projects[pkg.name]) {
|
|
402
|
+
console.debug(`Local Cargo package found: ${pkg.name}`);
|
|
403
403
|
for (const deps of pkg.dependencies) {
|
|
404
404
|
if (!cargoPackages.find((p) => p.name === deps.name)) {
|
|
405
|
-
console.
|
|
405
|
+
console.debug(
|
|
406
406
|
`Dependency ${deps.name} not found in the cargo metadata.`
|
|
407
407
|
);
|
|
408
408
|
continue;
|
|
@@ -420,8 +420,6 @@ var createDependencies = (_, context) => {
|
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
} else {
|
|
424
|
-
console.log(`Project ${pkg.name} not found in the context.`);
|
|
425
423
|
}
|
|
426
424
|
}
|
|
427
425
|
return dependencies;
|