diff --git a/node-src/lib/findChangedDependencies.ts b/node-src/lib/findChangedDependencies.ts index 605f2c0c1..742933285 100644 --- a/node-src/lib/findChangedDependencies.ts +++ b/node-src/lib/findChangedDependencies.ts @@ -54,12 +54,21 @@ export const findChangedDependencies = async (ctx: Context) => { }) ); + console.log('*** rootManifestPath', rootManifestPath); + console.log('*** rootLockfilePath', rootLockfilePath); + console.log('*** nestedManifestPaths', nestedManifestPaths); + console.log('*** metadataPathPairs', metadataPathPairs); + console.log('*** packageMetadataChanges', packageMetadataChanges); + console.log('*** untraced', untraced); + if (rootManifestPath && rootLockfilePath) { metadataPathPairs.unshift([rootManifestPath, rootLockfilePath]); } else if (!metadataPathPairs.length) { throw new Error(`Could not find any pairs of ${PACKAGE_JSON} + ${PACKAGE_LOCK} / ${YARN_LOCK}`); } + console.log('*** metadataPathPairs2', metadataPathPairs); + ctx.log.debug( { pathPairs: metadataPathPairs }, `Found ${metadataPathPairs.length} manifest/lockfile pairs to check` @@ -81,6 +90,8 @@ export const findChangedDependencies = async (ctx: Context) => { !untraced.some((glob) => matchesFile(glob, manifestPath)) && commits.length > 0 ); + console.log('*** filteredPathPairs', filteredPathPairs); + ctx.log.debug( { filteredPathPairs }, `Found ${filteredPathPairs.length} manifest/lockfile pairs to diff`